Integrate HTML Prettifier

For a potential enhancement, integrate html-prettify or equivalent to make the output source easily legible.

I think this may be something out of the scope of the package as you can specify the output type to be a string and pretty-ify it yourself. In older versions this was an option since we used JSDOM and JSDOM didn't automatically minify the output, but since we are using react now, the output is already minified.
Maybe we should convert this issue to a discussion, and if people can upvote if they think this would be a good addition.


Add Copy button to LLM App Output

Issue #506

Introduced a new copy button component.
Added copy button to playground.

@MohammedMaaz thanks I’d update it!

@MohammedMaaz fixed!


Mr carousel

Added Carousel component
Options:
with nav
no nav
fade transtion

Thanks for all your hard work on this stuff @Maggieryder!


YAML front matter doesn't appear to be optional for HTML content documents

From the documentation:

As long as a blueprint specifies a document's view and its path, including YAML front matter in a content document is optional.

I have a _blueprint.yaml that contains:
path: /{base}               # The URL path format.
view: /views/studies.html      # The template to use.
title: Studies                 # Collection's title.

and a filename.html content item in the same folder.  Without at least:
---
path:
---

as the YAML front matter, grow run errors out with 'str' object has no attribute 'get', which is the same naming issue I was seeing in #82.
This does not happen with Markdown content documents using the same blueprint, those work fine.

Thanks for the report – in fact, I noticed the between the documentation and reality the other day. The commit with an initial fix is 269befd. About to push up a commit that fixes the "no front matter" issue for HTML-formatted documents as well.


TODO before 2024.11.11

Due 2024.11.11

[x] Implement ExecuteBuy use case
[x] Implement tests for ExecuteBuy use case
[ ] Implement view framework
[x] Use cases described for each user story and user interations identified
[x] Wire frames for all views sketched
[x] Be able to make calls to the API your team has chosen
[x] Prepare a minimal demo

APIs: Finnhub/Alpha Vintage


add timeout option (600ms ?)

@MoOx Can you give some more details? Where would this timeout be, and what would be the purpose?

timeout when network does not respond? Not sure if that's still relevant nor a good idea :)


Feature/sequence

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Please fix CI

Codecov Report

Merging #322 (da96360) into master (b04366f) will decrease coverage by 0.33%.
The diff coverage is 14.52%.

@@            Coverage Diff             @@
##           master     #322      +/-   ##
==========================================
- Coverage   39.75%   39.41%   -0.34%
==========================================
  Files          99      100       +1
  Lines       13702    13869     +167
==========================================
+ Hits         5447     5467      +20
- Misses       7588     7732     +144
- Partials      667      670       +3

Impacted Files
Coverage Δ

pkg/config/model.go
28.97% <ø> (ø)

pkg/proto/rule/rule.go
69.14% <0.00%> (-12.11%)
:arrow_down:

pkg/sequence/snowflake/snowflake.go
12.76% <12.76%> (ø)

pkg/runtime/namespace/command.go
26.92% <18.18%> (-0.11%)
:arrow_down:

pkg/boot/discovery.go
64.39% <28.57%> (-0.91%)
:arrow_down:

pkg/runtime/namespace/namespace.go
53.44% <50.00%> (-1.34%)
:arrow_down:

pkg/boot/boot.go
56.75% <100.00%> (+0.59%)
:arrow_up:

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 b04366f...da96360. Read the comment docs.


ls is not self-consistent

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I have a file .\o\abc [defg].pdf, then I try all commands below to ls it. The first char y/x represents that the corresponding command works or not, i.e. prints the file or nothing without any error.
y ls 'abc `[defg`].pdf' -Recurse
y ls 'abc `[defg`].pdf' -Recurse -File | ls
x ls (ls 'abc `[defg`].pdf' -Recurse).FullName
x ls "$((ls 'abc `[defg`].pdf' -Recurse).FullName)"
x ls (ls 'abc `[defg`].pdf' -Recurse -File).ToString()

Expected behavior
All commands above should works exactly the same way.

Actual behavior
Just as the first char y/x in each command line shows. Output of `ls` can't be recognized by `ls` itself when the output is not passed via pipeline.

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

### Visuals

_No response_

I don't understand this x/y notation. Please either show the output of each command, or write them as tests using | Should -Be $null or | Should -Not - Be $null.
Also, this is not a bug, but the result of treating filename as a glob. Minimal test case would be a file named [.txt. ls '`[.txt' will work, but  ls '`[.txt' | ls with through an error about mismatched [. This is solved by using -LiteralPath whenever you pipe in filenames.

It seems this mix some issues and such issue were already opened.

This and #17992  and #17991 are basically the same issue.  There are pain points around the use of [  and  ] filenames because they can be treated as wild cards.
The advice is

Avoid using these characters.
If you must use them specify -LiteralPath  - there are places where the  [ and ] can be escaped with a ` but this is not reliable.  See #17992  and #18038  among other places.

In all three failing examples above  the inner command   ls  'abc `[defg`].pdf' works because the string is treated as -Path and escaping works  as desired.
The full name - which is what the file object gives when converting to a string - does not escape the name so the outer command runs ls 'abc [defg].pdf'  un-escaped, which fails.
If the outer command may need to deal with names that contain wildcard chars it must use -literalpath

On a side note, @LqkUWp: Please use the true names of PowerShell cmdlets in your issues, not aliases, especially if those aliases aren't defined on all platforms due to referring to a native utility there. Specifically, ls refers to /bin/ls on Unix-like platforms, not Get-ChildItem, so if someone tries your repro steps there, they won't work as intended.

While https://github.com/PowerShell/PowerShell/issues/17992 and https://github.com/PowerShell/PowerShell/issues/17991 show true problems (which may ultimately be resolved by #7999), I see only by-design behavior here (to paraphrase  your explanation, @jhoneill):

Get-ChildItem's first positional argument binds to the wildcard-supporting -Path parameter.
To provide a literal path (as implied by a [System.IO.FileInfo] instance), either use -LiteralPath explicitly or (as shown in the initial post), provide the [System.IO.FileInfo] instance via the pipeline, where it also binds to the -LiteralPath parameter (via the .PSpath property, thanks to -PSPath being a parameter alias).

#18038 is actually unrelated, because it refers to the native globbing feature for external programs, which is distinct from how providers handle wildcards.

@mklement0   yes 18038 is only another example of escaped wildcards not being processed correctly, there seems to be independent code in multiple places making similar errors, so a fix for 18038 wouldn't fix 17992 and vice versa.
As another example, on Windows dir | out-file -path 'files [Sept].txt' gives a "file does not exist", but dir | out-file -path 'files `[Sept`].txt' will create a file with ` in the name, I think this is another distinct bit of code.

Your other example is the subject of:

https://github.com/PowerShell/PowerShell/issues/9475

@mklement0  I brought this up at the cmdlet working group yesterday. Things are being looked at again, although we may get the same conclusion as before. The point you make in 9475 that Set-Content and Out-File  work differently suggests "cmdlet thing which is relatively easy to fix", rather than "provider minefield"


Use scarf images

Signed-off-by: Eduardo Apolinario<EMAIL_ADDRESS>TL;DR
Use scarf images to collect usage for default flytekit images.
Type

[ ] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/

should we update pythonpublish.yml?

scarf is a mirror of the ghcr images, so we should still publish those.


[tests-only][full-ci] add test for downloading resouces by user when auto sync is enabled

Description

In this PR, fllowing scenario are added related to downloading
-  user download the folder shared with them using sharingNg API

Related Issue

https://github.com/owncloud/ocis/issues/8662

Motivation and Context

How Has This Been Tested?

test environment:
-ci
locally
...

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[x] Acceptance tests added
[ ] Documentation ticket raised:

Also, auto-sync enabled is the default condition for ocis . It generally mean downloading the file/folder shared to receiver

The scenario will be covered in this line while doing the issue 8717.

https://github.com/owncloud/ocis/blob/8f0b536ef75c552703d84e5e541d99727e6a5c31/tests/acceptance/features/apiSpacesDavOperation/getFileByFileId.feature#L11
https://github.com/owncloud/ocis/blob/8f0b536ef75c552703d84e5e541d99727e6a5c31/tests/acceptance/features/apiArchiver/downloadById.feature#L75

So, this PR is closed since it will be raised as a duplicate scenario.


logcheck: allow klog.Format for contextual logging

The new API call is useful also for contextual logging and thus allowed.

See https://github.com/kubernetes/klog/pull/374

/lgtm

Is there a plan to bump the version for k/k? @pohly

Yes, as soon as https://github.com/kubernetes-sigs/logtools/pull/15 is also merged.


Improve breakfast

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (e8f8eaa) 100.00% compared to head (a1e197b) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          323       329    +6
  Branches        39        39
=========================================
+ Hits           323       329    +6

Impacted Files
Coverage Δ

src/aroma/datasets/breakfast.py
100.00% <100.00%> (ø)

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


Expand ~ in directory overrides in configuration

@foxyseta noticed that the dirs values don't expand a leading ~/ to the home directory. It would be nice to do so to make configurations more portable and to also avoid surprises.

#173

oooooh yep. +1 for this. Just seen that iamb created a ~ directory in my /Users/user folder on mac.
Brings back the nightmare of the last time this happened and in my haste executed rm -rf ~ ...


Next.js example breaks with v3

Question
Are there steps documented anywhere for running V3 in your app? I'm trying to test it out via these steps:

Pointing to the alpha in my package.json: "@huggingface/transformers": "^3.0.0-alpha.10",
npm i
cd node_modules/@hugginface/transformers && npm i
copy the webpack.config.js from the repo into the node_modules/@hugginface/transformers dir.
npm run build in node_modules/@hugginface/transformers dir.

I then run my app, and get the following error:
ERROR in<EMAIL_ADDRESS>42256:34-64
Module not found: Error: Can't resolve './' in '/node_modules/@huggingface/transformers/dist'
webpack compiled with 1 error

Thanks, I'm excited to test out the latest and greatest!

+1 on this error. Also in 3.0.0-alpha.13

Hi there! 👋 What environment are you running in (OS, build tool, browser, node)? 👀 I haven't seen an error like this before 🤔 Can you share your webpack config?

Hi there! 👋 What environment are you running in (OS, build tool, browser, node)? 👀 I haven't seen an error like this before 🤔 Can you share your webpack config?

Sure can!
OS: Sonoma 14.6.1
Build tool: Lerna
Browser: Chrome
Node: v22.3.0
Regarding webpack config, we aren't using webpack. The config I coped into transformers dir was from the main branch.

example error +1

cd examples/webgpu-whisper/
pnpm install
pnpm build

error during build:
[vite:worker-import-meta-url] Failed to resolve entry for package "@xenova/transformers". The package may have incorrect main/module/exports specified in its package.json.
OS: Sonoma 14.6.1
node v21.4.0

I ran into this issue when using webpack on worker.js into worker.bundle.js. @xenova/transformers on 2.17.2 worked just fine. I tried upgrading to @huggingface/transformers on 3.0.0-alpha.14.
I'm on:
macOS: 14.3.1 (23D60)
Node: v22.7.0
Browser: Firefox
With the following import statement, it works well
import { pipeline } from '@xenova/transformers';

alongside this webpack.config.js file:
const path = require('path');

module.exports = {
  entry: './static/images/js/worker.js',
  output: {
    filename: 'worker.bundle.js',
    path: path.resolve(__dirname, 'static/images/js'),
  },
  mode: 'production',
  target: 'webworker',
  module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        use: {
          loader: 'babel-loader',
          options: {
            presets: ['@babel/preset-env'],
          },
        },
      },
    ],
  },
  resolve: {
    extensions: ['.js'],
  },
};

However, it doesn't work with:
import { pipeline, AutoProcessor, Swin2SRForImageSuperResolution, RawImage } from '@huggingface/transformers';

I ran into the same issue, but I’ve figured out the solution!
Just add the following to your Webpack configuration file (or Next.js configuration in my case):
config.resolve.alias['@huggingface/transformers'] = path.resolve(__dirname, 'node_modules/@huggingface/transformers');
It works like a charm right now :)

+1, @sebastien-lempens thanks for the solution!

The error happens only with version 3.0.0-alpha.10 or newer. 3.0.0-alpha.9 works fine for me. Was testing with webpack and in this env:
OS: Sonoma 14.6.1 Browser: Chrome Node: v22.3.0

This was the temporary solve for me. Since we are using Lerna with CRA, the webpack alias didn't fix things.
Not sure what happened between versions alpha 9 and 10, but that's where this issue starts showing up.

I ran into the same issue, but I’ve figured out the solution! Just add the following to your Webpack configuration file (or Next.js configuration in my case):
webpack(config, { isServer }) {
	config.resolve.alias['@huggingface/transformers'] = path.resolve(__dirname, 'node_modules/@huggingface/transformers');
        ....
	return config;
	}

It works like a charm now :)

@jpcoder2 did you try this? Worked for me

Any word on fix this issue in the most current version?

Still the same as of ^3.0.0-alpha.19 but the @sebastien-lempens 's solution works for me.

Are there any updates regarding this?

@laurislopata We're working on fixing this, as well as creating a Next.js example project which should serve as a basis for others to build on.
Which version of Next.js are you using? Next.js v15 just came out, and from initial testing, may not need the workaround shown above.

I might have found a better solution (tested in Next.js v15):
const nextConfig = {
  output: "standalone",
  // https://nextjs.org/docs/app/api-reference/next-config-js/serverExternalPackages
  serverExternalPackages: ["@huggingface/transformers"],
};

Let me know if that fixes it!

Demo: https://huggingface.co/spaces/webml-community/next-server-template
Source code: https://github.com/huggingface/transformers.js-examples/tree/main/next-server

I might have found a better solution (tested in Next.js v15):
const nextConfig = {
  output: "standalone",
  // https://nextjs.org/docs/app/api-reference/next-config-js/serverExternalPackages
  serverExternalPackages: ["@huggingface/transformers"],
};

Let me know if that fixes it!
Demo: https://huggingface.co/spaces/webml-community/next-server-template Source code: https://github.com/huggingface/transformers.js-examples/tree/main/next-server

Is there an equivalent solve for a Lerna/CRA setup? I can't add the webpack fix above, as CRA won't recognize it unless we eject CRA, which would be a large undertaking. I'd like to try out the official 3.0.0 version, but I'm still getting the original error posted above.

I ended up ejecting create-react-app to fix this issue. For anyone that goes that route, ejecting puts all config, including webpack, into a config dir. I fixed the issue by adding this alias:
"@huggingface/transformers": path.resolve(
  __dirname.replace("/config", ""),
  "node_modules/@huggingface/transformers"
),

I'm going to close this out, as my original issue is resolved.

This issue is till there. Had to go back to @xenova/transformers.

I ended up ejecting create-react-app to fix this issue. For anyone that goes that route, ejecting puts all config, including webpack, into a config dir. I fixed the issue by adding this alias:
"@huggingface/transformers": path.resolve(
  __dirname.replace("/config", ""),
  "node_modules/@huggingface/transformers"
),

I'm going to close this out, as my original issue is resolved.

This solved it for me! Thank you :)

this also works with vue3/webpack! thank you...

still getting this error.

@djaffer which build tool are you using with react? I have tested and it works with Vite. Are you perhaps using create-react-app or parcel?

React app with react scripts. It uses webpack.


Add plugin previewer

Simple plugin that allow to preview file and buffers before before opening them.

Mmmh as it is, this plugin is a bit problematic as it overrides the CommandView in every case, so it'll try previewing anything the CommandView is showing.
It even causes a crash in some cases, for example when trying to create a new file from the context menu of the TreeView (only if you try doing that with one of the first directories for some reason).
A better solution would be to provide your own function to open files. I think it could use suggest directly to change files.
You could also provide a wrapper function that will have to be passed to suggest, for people/plugins that want to integrate your preview.
As a note, you don't really need to specify . as path in the manifest.

Thank you for your feedback! It is really nice to have someone testing it,
as I never encountered issues but is because I never use the tree view and
never create a new file from lite . I will fix it as you suggested!
On Fri, Jul 19, 2024, 10:54 PM Guldoman @.***> wrote:

Mmmh as it is, this plugin is a bit problematic as it overrides the
CommandView in every case, so it'll try previewing anything the CommandView
is showing.
It even causes a crash in some cases, for example when trying to create a
new file from the context menu of the TreeView (only if you try doing that
with one of the first directories for some reason).
A better solution would be to provide your own function to open files. I
think it could use suggest directly to change files.
You could also provide a wrapper function that will have to be passed to
suggest, for people/plugins that want to integrate your preview.
As a note, you don't really need to specify . as path in the manifest.
—
Reply to this email directly, view it on GitHub
https://github.com/lite-xl/lite-xl-plugins/pull/459#issuecomment-2240089350,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACDRTTFAVTUH4MEDO7FWM3ZNF4HVAVCNFSM6AAAAABLCSBEHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBQGA4DSMZVGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Mmmh as it is, this plugin is a bit problematic as it overrides the CommandView in every case, so it'll try previewing anything the CommandView is showing. It even causes a crash in some cases, for example when trying to create a new file from the context menu of the TreeView (only if you try doing that with one of the first directories for some reason).

I fixed the issue by creating a new method called enter_with_preview so that you must explicitly call it for enabling the preview.
Also I overwritten core:open-file and core:find-file to use it.

A better solution would be to provide your own function to open files. I think it could use suggest directly to change files. You could also provide a wrapper function that will have to be passed to suggest, for people/plugins that want to integrate your preview.

The problem that suggest will be only called when some input text is changed  and not if you move your arrows around.
To get the correct suggestion_idx the only way I found was to overwrite CommandView:update.

As a note, you don't really need to specify . as path in the manifest.

Done


Rename whitelist & blacklist #71

Rename whitelist and blacklist to allowlist and blocklist

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

LGTM!
Is it compatible with Synapse v1.14 or should we wait for the release of v1.15 to merge it?

This is relevant to a change in v1.15, so it's incompatible for v1.14


Support for lighting controller code

First off, thank you so much for arduino-mock, it was a godsend when I was developing code for the lighting controller I wrote for Arduino.  Here is a brain-dump of the modifications I made:

One of the biggest things I did was add the ability to quickly set and advance the value returned by millis().  My code requires a lot of time counter based calculations thus for testing it was imperative that I be able to set and advance the milliseconds.
I added a bunch of asserts for NULL pointers in a lot of the functions as forgetting to initialize the mocks bit me a lot.  It is a lot quicker to identify the problem when the assert points you to it instead of tracking down a segfault.
I added the IRremote mock as I needed it.  Basically copying from one of the existing mocks.
In Serial.h I added the ability to print directly to cout instead of sending it back via the normal return mechanisms to aid in debugging

Will do. Thanks

Okay, I've added info for IRremote.  Please let me know if I need to add more info or you would like it somewhere else.  Thanks.


Add a complete example

@fdiblen now that it runs on Snellius as expected, this pull request can be reviewed now.


syscall: Dup3/Dup2/Dup should not use RawSyscall

These syscalls may block if there is a FUSE file system involved, causing them to camp on GOMAXPROCS credit. See this thread for details and discussion.

Just for the record, I see that you hit golang.org/x/sys/unix with golang/sys@5829c748864970bb66aa29a1f92df3174f7c77a0, too. Thank you!


[WIP] initial commit for trace op feature

Description
Implement Numpy equivalent tensor trace functionality (diagonal + sum) #10500
The implemented functionality is an optimized combination of the diagonal operator and sum operator. Rather than actually computing the diagonal and then summing it, this operator computes the offsets for accessing elements on the diagonal and then sums those elements. So there is no intermediary diagonal storage memory.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Thanks for your contribution @samskalicky
@mxnet-label-bot[pr-work-in-progress]

@samskalicky Requesting an update on this PR. Have the build failures been addressed?

@vrakesh There are no build failures. Travis CI is not known to be successful in all cases yet. See status below for Jenkins CI which is green.

@nikrao Sorry, ive been pulled into other things and havent gotten around to finishing up with PR. Current status:

Forward pass implemented
Forward pass tests created
Backward pass is implemented
Backward pass tests are WIP

@samskalicky ping!
Any update on the above PR.

@samskalicky could you please update the PR with tests for the gradient of the operator.

sorry, havent had time to do this. If anyone else wants to do I welcome the help. In the meantime i'll post again if theres any update. Thanks!

@samskalicky any update?
If you are not able to work on this PR, you may want to consider closing it, and resubmitting once you have the bandwidth to work on it.

@samskalicky Thanks for the contribution! ping for update and trigger CI.

@samskalicky - Any suggestion on how to take this PR forward? 'Trace' is a useful operator

@samskalicky Any updates?

@samskalicky Any update on this PR ? :)

@samskalicky is this PR ready for review?

@samskalicky Based on the offline discussion with you, we are closing this PR. Please create a new PR if you would like work on this feature in future. Thanks!
@nswamy Could you please close this PR?

According to the prior discussions, I am closing this PR for now. Please reopen once you have the bandwidth to work on it. Thanks!


Leak of connection leads to redisson unable to perform action correctly

Expected behavior
The connection pool remain stable and keep the number of opened connection to the minimum.

Steps to reproduce or test case
We have not idea what was the cause of this. The only thing we know is:

We have one service that use redisson and on both instance of this service the number of opened connection has increased since 10 days without any connection being freed. When we restarted the two instances of the service, the number of open connections on our redis dropped by 80. On the JVM side, there is no thread stuck during this period.

We are using redisson for distributed task using the RScheduledExecutorService. It's possible to have task that are cancelled during execution.
Redis version
5.0.6
Redisson version
3.15.6
Redisson configuration
Replicated server with a node config containing one worker group of 5 with 8 redis thread, 16 netty thread and a the default MasterPubSub connection pool (24min, 64 max)
Here is some log about the problem after the connection pool is full of blocked connection:
Oct 30, 2021 @ 03:07:01.382 | ERROR | redisson-timer-4-1 | Can't process the remote service request with id 018e66f563eb11b7a9bbc0c6cab625427c |
Oct 30, 2021 @ 03:06:48.782 | ERROR | redisson-timer-4-1 | Unable to acquire connection! RedissonPromise [promise=ImmediateEventExecutor$ImmediatePromise@3bb0d6ab(failure: java.util.concurrent.CancellationException)]Increase connection pool size. Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], command: (EVAL), params: [local expiredTaskIds = redis.call('zrangebyscore', KEYS[2], 0, ARGV[1], 'limit', 0, ARGV[2]); local ..., 4, {timerExecutor:org.redisson.executor.RemoteExecutorService}, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler-channel, {timerExecutor:org.redisson.executor.RemoteExecutorService}:retry-interval,<PHONE_NUMBER>381, 50] after 0 retry attempts |
Oct 30, 2021 @ 03:06:37.282 | ERROR | redisson-timer-4-1 | Unable to acquire connection! RedissonPromise [promise=ImmediateEventExecutor$ImmediatePromise@3f42e81b(failure: java.util.concurrent.CancellationException)]Increase connection pool size. Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], command: (EVAL), params: [local expiredTaskIds = redis.call('zrangebyscore', KEYS[2], 0, ARGV[1], 'limit', 0, ARGV[2]); local ..., 4, {timerExecutor:org.redisson.executor.RemoteExecutorService}, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler-channel, {timerExecutor:org.redisson.executor.RemoteExecutorService}:retry-interval,<PHONE_NUMBER>882, 50] after 0 retry attempts |
Oct 30, 2021 @ 03:06:24.382 | ERROR | redisson-timer-4-1 | Can't send response: RemoteServiceResponse [result=null, error=org.redisson.client.RedisTimeoutException: Unable to acquire connection! RedissonPromise [promise=ImmediateEventExecutor$ImmediatePromise@4e06c5e7(failure: java.util.concurrent.CancellationException)]Increase connection pool size. Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], command: (EVAL), params: [local scheduled = redis.call('zscore', KEYS[5], ARGV[3]);if scheduled == false then redis.call('hdel..., 6, {timerExecutor:org.redisson.executor.RemoteExecutorService}:counter, {timerExecutor:org.redisson.executor.RemoteExecutorService}:status, {timerExecutor:org.redisson.executor.RemoteExecutorService}:termination-topic, {timerExecutor:org.redisson.executor.RemoteExecutorService}:tasks, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler, {timerExecutor:org.redisson.executor.RemoteExecutorService}:retry-interval, 1, 2, ...] after 0 retry attempts] for request: RemoteServiceRequest [requestId=0142cded9f752cac200a1f5479f3bc7518, methodName=scheduleCallable, signature=[3143983607692024834, -697753227114447020], args=[org.redisson.executor.params.ScheduledParameters@5e6a753c], options=RemoteInvocationOptions[ackTimeoutInMillis=null, executionTimeoutInMillis=3600000], date=1635555941133] |
Oct 30, 2021 @ 03:06:18.030 | ERROR | redisson-3-3 | Can't execute: RemoteServiceRequest [requestId=0142cded9f752cac200a1f5479f3bc7518, methodName=scheduleCallable, signature=[3143983607692024834, -697753227114447020], args=[org.redisson.executor.params.ScheduledParameters@5e6a753c], options=RemoteInvocationOptions[ackTimeoutInMillis=null, executionTimeoutInMillis=3600000], date=1635555941133] |
Oct 30, 2021 @ 03:06:11.583 | ERROR | redisson-3-3 | [org.redisson.command.RedisExecutor$2.run(RedisExecutor.java:187), io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:669), io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:744), io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:469), io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30), java.base/java.lang.Thread.run(Thread.java:830)]

Do you have a memory dump? Can you check for any failover case before this issue arise?

Since the service was restarted, we don't have any dump sorry. Before this, we haven't any failover case visible in our logs.

yes, here it is<EMAIL_ADDRESS>

Sent it this morning. Tell me if you didn't receive it or if you have any information to help us.

In your dump I see only 66 RedisConnections

The dump was taken during this peek:

Indeed there is less connection than last time because we restarted the service before reaching the connection pool maximum limit. The service is configured to have something like 48 connection on idle. And most of the time it does not need more.
But there is an edge case that can occurs and this happen, I think Redisson is not able to free the connection or the execution thread and so on.
We have enabled the redisson debug logs maybe we can give you extra info if you tell us what we need to find ?

Do you see any output from ConnectionWatchdog class in your logs?

No not at all.

do you execute tasks on the same JVM which scheduled it?

Yes it's highly possible

After some research, all the lost connexion are related to BLPOP command executed during the execution of a task.

blocking queue is used per executorService instance which is registered for tasks execution.

Here is the config we used:
`      Config config = new Config();
config.useReplicatedServers().addNodeAddress(props.getHost().toArray(new String[0]));
config.setThreads(8);
config.setNettyThreads(16);
    RedissonNodeConfig nodeConfig = new RedissonNodeConfig(config);
    nodeConfig.setBeanFactory(factory);
    nodeConfig.setExecutorServiceWorkers(Collections.singletonMap("name", 5));

    RedissonClient redissonClient = Redisson.create(config);
    RedissonNode node = RedissonNode.create(nodeConfig, redissonClient);
    node.start();

`
On our logs, there is 31 BLPOP command with unreleased connection all related to one of the 8 threads named redisson-X-X.

Unable to reproduce it.

On our logs, there is 31 BLPOP command with unreleased connection all related to one of the 8 threads named redisson-X-X.

Can you share these logs?

Hello, could you please reopen this ticket as we observe exactly the same behavior as described: one service using queue on Redisson is leaking connections all related to BLPOP commands.
Moreover, we observe that the connections are often released right after the BLPOP command timeout is over, but sometimes the connection is released several minutes after this BLPOP timeout.

Expected behavior The connection pool remain stable and keep the number of opened connection to the minimum.

Steps to reproduce or test case We have not idea what was the cause of this. The only thing we know is:

We have one service that use redisson and on both instance of this service the number of opened connection has increased since 10 days without any connection being freed. When we restarted the two instances of the service, the number of open connections on our redis dropped by 80. On the JVM side, there is no thread stuck during this period.

We are using redisson for distributed task using the RScheduledExecutorService. It's possible to have task that are cancelled during execution.
Redis version 5.0.6
Redisson version 3.15.6
Redisson configuration Replicated server with a node config containing one worker group of 5 with 8 redis thread, 16 netty thread and a the default MasterPubSub connection pool (24min, 64 max)
Here is some log about the problem after the connection pool is full of blocked connection:
Oct 30, 2021 @ 03:07:01.382 | ERROR | redisson-timer-4-1 | Can't process the remote service request with id 018e66f563eb11b7a9bbc0c6cab625427c |
Oct 30, 2021 @ 03:06:48.782 | ERROR | redisson-timer-4-1 | Unable to acquire connection! RedissonPromise [promise=ImmediateEventExecutor$ImmediatePromise@3bb0d6ab(failure: java.util.concurrent.CancellationException)]Increase connection pool size. Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], command: (EVAL), params: [local expiredTaskIds = redis.call('zrangebyscore', KEYS[2], 0, ARGV[1], 'limit', 0, ARGV[2]); local ..., 4, {timerExecutor:org.redisson.executor.RemoteExecutorService}, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler-channel, {timerExecutor:org.redisson.executor.RemoteExecutorService}:retry-interval,<PHONE_NUMBER>381, 50] after 0 retry attempts |
Oct 30, 2021 @ 03:06:37.282 | ERROR | redisson-timer-4-1 | Unable to acquire connection! RedissonPromise [promise=ImmediateEventExecutor$ImmediatePromise@3f42e81b(failure: java.util.concurrent.CancellationException)]Increase connection pool size. Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], command: (EVAL), params: [local expiredTaskIds = redis.call('zrangebyscore', KEYS[2], 0, ARGV[1], 'limit', 0, ARGV[2]); local ..., 4, {timerExecutor:org.redisson.executor.RemoteExecutorService}, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler-channel, {timerExecutor:org.redisson.executor.RemoteExecutorService}:retry-interval,<PHONE_NUMBER>882, 50] after 0 retry attempts |
Oct 30, 2021 @ 03:06:24.382 | ERROR | redisson-timer-4-1 | Can't send response: RemoteServiceResponse [result=null, error=org.redisson.client.RedisTimeoutException: Unable to acquire connection! RedissonPromise [promise=ImmediateEventExecutor$ImmediatePromise@4e06c5e7(failure: java.util.concurrent.CancellationException)]Increase connection pool size. Node source: NodeSource [slot=0, addr=null, redisClient=null, redirect=null, entry=null], command: (EVAL), params: [local scheduled = redis.call('zscore', KEYS[5], ARGV[3]);if scheduled == false then redis.call('hdel..., 6, {timerExecutor:org.redisson.executor.RemoteExecutorService}:counter, {timerExecutor:org.redisson.executor.RemoteExecutorService}:status, {timerExecutor:org.redisson.executor.RemoteExecutorService}:termination-topic, {timerExecutor:org.redisson.executor.RemoteExecutorService}:tasks, {timerExecutor:org.redisson.executor.RemoteExecutorService}:scheduler, {timerExecutor:org.redisson.executor.RemoteExecutorService}:retry-interval, 1, 2, ...] after 0 retry attempts] for request: RemoteServiceRequest [requestId=0142cded9f752cac200a1f5479f3bc7518, methodName=scheduleCallable, signature=[3143983607692024834, -697753227114447020], args=[org.redisson.executor.params.ScheduledParameters@5e6a753c], options=RemoteInvocationOptions[ackTimeoutInMillis=null, executionTimeoutInMillis=3600000], date=1635555941133] |
Oct 30, 2021 @ 03:06:18.030 | ERROR | redisson-3-3 | Can't execute: RemoteServiceRequest [requestId=0142cded9f752cac200a1f5479f3bc7518, methodName=scheduleCallable, signature=[3143983607692024834, -697753227114447020], args=[org.redisson.executor.params.ScheduledParameters@5e6a753c], options=RemoteInvocationOptions[ackTimeoutInMillis=null, executionTimeoutInMillis=3600000], date=1635555941133] |
Oct 30, 2021 @ 03:06:11.583 | ERROR | redisson-3-3 | [org.redisson.command.RedisExecutor$2.run(RedisExecutor.java:187), io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:669), io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:744), io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:469), io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30), java.base/java.lang.Thread.run(Thread.java:830)]

Did you find any way to fix that, or is there still this connection leak in your service?

We were able to mitigate the problem changing the idleConnectionTimeout to 1000 ms.
I think the problem behind this it that some command doesn't use already opened connection and try to open another one instead. These connection then stay idle and are used by ping command so the pool never decrease.
With this parameter setted to 1000 ms, connection are released faster and the pool is never full.

@nladuguie
Can you reproduce it with sample code?

@nladuguie
Please share your Redisson config

Can you try version attached?
redisson-3.17.4-SNAPSHOT.jar.zip

@mrniko unfortunately, we are not able to run our service correctly with this JAR embedded.
Issues like java.lang.NoClassDefFoundError: org/redisson/misc/RPromise are happening.
Can you try to built this JAR another way ?

@nladuguie
RPromise and RedissonPromise internal classes were removed.

Sorry, I meant 3.17.3 version

@mrniko thank you, the jar worked fine even with 3.17.2, but issue is still there unfortunately.
One more thing to note is that connections leaking often concern blpop command with remote_execution params.
Can we know what means this remote_execution exactly?
Is this related to Redisson internal behavior?

Ok understood.
So our use case is more related to a TransferQueue more than the BlockingQueue we are also using.
Because I guess this remote_response comes from the TransferQueue implementation for signaling to the producer that the consumer effectively consumed the element from the queue.
Will test your version, thank you.

@mrniko good news, with this latest version you provided me this morning, it seems to fix the issue.
I will run more tests today, but we are on the right track.
Thank you for your help.
Do you plan to deliver that fix in 3.17.4 ? And if so, what is the targeted release date ?

@nladuguie
I replaced blpop with forever waiting interval to 60 seconds. Here is the commit https://github.com/redisson/redisson/commit/ab9e6dc7a74ea2bf139ef18ace245917301233da

during this month


WebDriverException: disconnected: unable to send message to renderer

I have two computers, one using Stable Edge and one using Edge Dev Channel.
Yesterday afternoon, I started getting the exception below on the computer with Edge Dev.
OpenQA.Selenium.WebDriverException: disconnected: unable to send message to renderer
  (failed to check if window was closed: disconnected: not connected to DevTools)
  (Session info: MicrosoftEdge=116.0.1938.43)
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(OpenQA.Selenium.Response errorResponse, System.String commandToExecute) at offset 306
at OpenQA.Selenium.WebDriver.Execute(System.String driverCommandToExecute, System.Collections.Generic.Dictionary`2 parameters) at offset 74
at OpenQA.Selenium.WebDriver.FindElement(System.String mechanism, System.String value) at offset 33
at OpenQA.Selenium.By.<.ctor>b__11_0(OpenQA.Selenium.ISearchContext context)
at OpenQA.Selenium.By.FindElement(OpenQA.Selenium.ISearchContext context) at offset 1
at OpenQA.Selenium.WebDriver.FindElement(OpenQA.Selenium.By by) at offset 29
at SeleniumExtras.WaitHelpers.ExpectedConditions.<>c__DisplayClass17_0.<InvisibilityOfElementLocated>b__0(OpenQA.Selenium.IWebDriver driver)
at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](System.Func`2 condition, System.Threading.CancellationToken token) at offset 154

I am using DriverManager to always get the version of EdgeWebDriver compatible with my browser.
new DriverManager().SetUpDriver(new EdgeConfig());

I tried using Chrome on the same machine and it works fine.

Came up with the same error, it's intermittent error but happens more frequently on Edge V116. Will follow this issue, seeking a solution.


isoweek: init at 1.3.3

Motivation for this change
Adding a new package.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build isoweek

LGTM!
However, I do not have the privilege of merging PRs.
Please pin the maintainers. Thank you!

Updated the commit message to include pythonPackages. as per this suggestion

@grahamcofborg build python2.pkgs.isoweek python3.pkgs.isoweek


ImportError: No module named flask.ext

By following the tutorial http://docs.gae-init.appspot.com/tutorial/, always error with message:
[22:43:36] --------DONE ----------------------------------------------
INFO     2014-09-18 14:43:38,541 devappserver2.py:725] Skipping SDK update check.
WARNING  2014-09-18 14:43:38,546 api_server.py:383] Could not initialize images API; you are likely missing the Python "PIL" module.
INFO     2014-09-18 14:43:38,580 api_server.py:171] Starting API server at: http://localhost:49195
INFO     2014-09-18 14:43:38,609 dispatcher.py:183] Starting module "default" running at: http://<IP_ADDRESS>:8080
INFO     2014-09-18 14:43:38,639 admin_server.py:117] Starting admin server at: http://localhost:8081
ERROR    2014-09-18 14:43:40,766 wsgi.py:262]
Traceback (most recent call last):
File "/Users/Alpha/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 239, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/Users/Alpha/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 298, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/Users/Alpha/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 84, in LoadObject
obj = import(path[0])
File "/Users/Alpha/Downloads/phonebook/main/main.py", line 5, in
from flask.ext import wtf
ImportError: No module named flask.ext
INFO     2014-09-18 14:43:40,776 module.py:652] default: "GET /_ah/warmup HTTP/1.1" 500 -

I'm also having this error...
./run.py -C
[16:53:12] ---CLEAN ALL ----------------------------------------------
[16:53:12]  CLEAN FILES Removing files: *pyc, *pyo, *~
[16:53:14]    NOT FOUND Internet
[16:53:14] -------CLEAN ----------------------------------------------
[16:53:14]  CLEAN FILES Removing files: *pyc, *pyo, *~
[16:53:14]    NOT FOUND main/lib
[16:53:14]         LESS main/static/src/style/style.less
sh: node_modules/.bin/lessc: No such file or directory
[16:53:14]    NOT FOUND main/static/ext/jquery/dist/jquery.js
[16:53:14]    NOT FOUND main/static/ext/moment/moment.js
[16:53:14]    NOT FOUND main/static/ext/nprogress/nprogress.js
[16:53:14]    NOT FOUND main/static/ext/bootstrap/js/alert.js
[16:53:14]    NOT FOUND main/static/ext/bootstrap/js/button.js
[16:53:14]    NOT FOUND main/static/ext/bootstrap/js/transition.js
[16:53:14]    NOT FOUND main/static/ext/bootstrap/js/collapse.js
[16:53:14]    NOT FOUND main/static/ext/bootstrap/js/dropdown.js
[16:53:14]    NOT FOUND main/static/ext/bootstrap/js/tooltip.js
[16:53:14]       COFFEE main/static/src/script/common/api.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:14]       COFFEE main/static/src/script/common/util.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:14]       COFFEE main/static/src/script/site/app.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:14]       COFFEE main/static/src/script/site/admin.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:14]       COFFEE main/static/src/script/site/auth.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:14]       COFFEE main/static/src/script/site/user.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:14] --------DONE ----------------------------------------------
ev-rmbp:phonebook ericvolp$ ./run.py -s
[16:53:17]    NOT FOUND Internet
[16:53:18] -------CLEAN ----------------------------------------------
[16:53:18]  CLEAN FILES Removing files: *pyc, *pyo, *~
[16:53:18]    NOT FOUND main/lib
[16:53:18]         LESS main/static/src/style/style.less
sh: node_modules/.bin/lessc: No such file or directory
[16:53:18]    NOT FOUND main/static/ext/jquery/dist/jquery.js
[16:53:18]    NOT FOUND main/static/ext/moment/moment.js
[16:53:18]    NOT FOUND main/static/ext/nprogress/nprogress.js
[16:53:18]    NOT FOUND main/static/ext/bootstrap/js/alert.js
[16:53:18]    NOT FOUND main/static/ext/bootstrap/js/button.js
[16:53:18]    NOT FOUND main/static/ext/bootstrap/js/transition.js
[16:53:18]    NOT FOUND main/static/ext/bootstrap/js/collapse.js
[16:53:18]    NOT FOUND main/static/ext/bootstrap/js/dropdown.js
[16:53:18]    NOT FOUND main/static/ext/bootstrap/js/tooltip.js
[16:53:18]       COFFEE main/static/src/script/common/api.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:18]       COFFEE main/static/src/script/common/util.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:18]       COFFEE main/static/src/script/site/app.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:18]       COFFEE main/static/src/script/site/admin.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:18]       COFFEE main/static/src/script/site/auth.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:18]       COFFEE main/static/src/script/site/user.coffee
sh: node_modules/.bin/coffee: No such file or directory
[16:53:18] --------DONE ----------------------------------------------
INFO     2015-04-22 15:53:18,617 devappserver2.py:745] Skipping SDK update check.
INFO     2015-04-22 15:53:18,664 api_server.py:190] Starting API server at: http://localhost:63877
INFO     2015-04-22 15:53:18,668 dispatcher.py:192] Starting module "default" running at: http://<IP_ADDRESS>:8080
INFO     2015-04-22 15:53:18,670 admin_server.py:118] Starting admin server at: http://localhost:8081
ERROR    2015-04-22 15:53:21,059 wsgi.py:263]
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = import(path[0])
File "/Users/ericvolp/Documents/App Engine/phonebook/main/main.py", line 3, in
import flask
ImportError: No module named flask
INFO     2015-04-22 15:53:21,064 module.py:788] default: "GET /_ah/warmup HTTP/1.1" 500 749
ERROR    2015-04-22 15:53:23,951 wsgi.py:263]
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = import(path[0])
File "/Users/ericvolp/Documents/App Engine/phonebook/main/main.py", line 3, in
import flask
ImportError: No module named flask
INFO     2015-04-22 15:53:23,956 module.py:788] default: "GET / HTTP/1.1" 500 749
INFO     2015-04-22 15:53:24,115 module.py:788] default: "GET /favicon.ico HTTP/1.1" 304 -

Maybe problem is here
[16:53:14] NOT FOUND Internet

How would I fix that? I'm obviously connected to the internet...

<IP_ADDRESS> which is used for checking internet connection is no longer available. Just replace run.py line 127 to:
INERNET_TEST_URL = 'http://<IP_ADDRESS>'

That should probably be updated in the repo btw XD

Still getting tons of errors. There's no folder main/static/ext and it keeps calling it...

The Phonebook project is a bit outdated.. and there were updates in run.py regarding the latest google cloud SDK..

What tutorial should I use then?

the tutorial should work.. but this current repo is kind of dated.. so if you start from https://github.com/gae-init/gae-init it should work..

https://github.com/gae-init/gae-init/pull/343


Add a NONE profiling interface

Is your feature request related to a problem? Please describe.
The code has many #ifdef ... which makes it harder to read, one area where these occur is when interfacing with the profiler.
Describe the solution you'd like
A NONE profiler interface would allow us to remove the #ifdef and user code would just call decomp_profiler_start(name), etc. This would then resolve to the implementation in the selected profiler backend, in the case of NONE an empty subroutine call.

I am for removing all the #IFDEF they are useful but they tend to mess too much the code

Starting with the profiler would be very good

I am for removing all the #IFDEF they are useful but they tend to mess too much the code

I've opened a project for this as it's bigger than a single issue / PR

I need to add also the nvhpc profiler to the options since it is useful for GPU.

Have we tried using the caliper interface directly? Apparently it should integrate with NVTX https://software.llnl.gov/Caliper/ThirdPartyTools.html


ran wikidata_bioguide.py

It picked up a bunch of Wikipedia renames as well as a smaller number of Vote Smart and Ballotpedia ids.  Made a minor error checking adjustment to the script.

Hey. Could you just remove the alternate_formats file from the PR? (These are now gone from master and are added automatically in the gh-pages branch.)

Thanks!


Add key code 10 for 'enter'

Stack Overflow reference
I ran into this issue while trying to bind ui-keypress to 'ctrl-enter'.
I read the contributing guidelines and tried format my commit message accordingly, but let me know if I missed anything.

This PR seems to be obsolete. Moreover UI.Utils modules was split in individuals repositories. If still valid, please consider re-submitting on the dedicated repository.
See the README for details.


[FEATURE]提供Spring Boot Starter

Spring Boot starter to auto-configure

See https://github.com/spring-projects/spring-framework/pull/31312


evdev / libinput: "full" keyboard support

When using the LV_INDEV_TYPE_KEYPAD type, the evdev driver supports a limited number of keys (backspace, enter, up right, left, down). Any other keys are ignored. It would be great if the driver would handle input from a regular keyboard so that, for instance, typed characters are forwarded into a textarea.
I'm not sure if there is a better way to achieve this other than adding further cases for the relevant key codes and handling things like SHIFT manually.
Maybe ASCII characters or characters found on common US English keyboard layouts would be enough for a start as that would limit the amount of switching.
I'm curious if you'd be open to adding this to lv_drivers and would be happy to help implement it.

For "normal letters" data->key = in.code; should work instead of data->key = 0; in the default branch of the switch case.
It really works only for ASCII letters. Isn't there a way to get the "real" letters, e.g. shift + a = A?

It seems that libxkbcommon would be able to do the translation from key codes to key symbols based on the current key map. I'll have to do some more research to understand what would be required to hook into that.

Looks like libxkbcommon is working pretty ok for me so far. We'd only have to add a config setting for the key map to use. E.g. this is what I use with my laptop keyboard:
struct xkb_rule_names names = {
    .rules = NULL,
    .model = "pc105",
    .layout = "de",
    .variant = "nodeadkeys",
    .options = NULL
};

Good news! :slightly_smiling_face:

We'd only have to add a config setting for the key map to use.

Shall we add parts of this config to lv_drv_conf.h?

Yeah, good idea. :+1:
Let me play with it some more and then I'll try to put it into a pull request.


bad error when trying to use a kernel from a dead server

Testing #11963
create a jupyter server outside of vscode
use the mru kernel picker to connect to that server
kill the server, reload vscode
open the mru kernel picker, select another kernel, connect to a server, select the dead server, pick a kernel
run a cell
Expected: connection error
Actual:
Failed to start the Kernel.
Kernel Python 3 (ipykernel) is not usable. Check the Jupyter output tab for more information.
View Jupyter [log](command:jupyter.viewOutput) for further details.

@amunger I'm trying what you have suggested but unable to replicate the issue.
Perhaps the following might need more clarification

open the mru kernel picker, select another kernel, connect to a server, select the dead server, pick a kernel

Please confirm these are the steps

Open the mru kernel picker
Select Select Another Kernel
Select Existing Jupyter Server => Is this correct
After the previous step, please could you share the screenshot of the issue.

Also, logs would be very useful here, please do share debug logs.

yes, those steps are correct.
jupyterlogs.txt


Changed wrong and/or confusing danish translations

Description
Changed multiple danish translations which were incorrect, misleading or directly translated from english (too "Google translatey").
Fixes # 236
Type of change

[x] Bug fix (added a non-breaking change which fixes an issue)

How Has This Been Tested?
Untested. It's a simple string change.
Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Sure I'll take a look 👍

Busy weekend without pc but here's the final translation


Sleeping Provisions Card

connected to issue #32 in the main repo.

Grabbing this so I can update the spec.


Reference underlying bluebird promise library

Is there a good/supported way to access the underlying promise library (bluebird)?
I need to use Promise.reduce() on an array. Can I use knex's underlying promise lib or should I just require() my own version of bluebird?

Just use your own version of Bluebird. You'd even be fine with multiple promise libraries.

Thanks


Smoother release

got the VRT to ignore the minor and patch version numbers (still included the major version number to have some test that the font/color is correct and that the number is being created...and not some error code)
Got the unit tests to dynamically extract the app version instead of having it hardcoded--so it doesn't have to be adjusted in the tests when the version changes
Added a debugging param to the /shutdown call from the frontend when its called by the user closing the application

No comments.


TypeScript Type Declarations

It is quite odd that this library written in JS because on the other side CycleJS is fully written in TypeScript. Would you mind to write TypeScript declarations?

I'm not familiar with TypeScript and don't have the time to learn it. This is open source. We're all doing this on our free time. Feel free to contribute the declarations if you think they're important.

@lmatteis perhaps reopen this issue and mark as help wanted?
I would be happy to help contribute TypeScript declarations.

@Widdershin can you take a look at https://github.com/cyclejs-community/redux-cycles/pull/37?

I can't really test it because I don't use Typescript. However I trust @Widdershin that's a beneficial thing to have (and that it works). So I'll go ahead and accept it 👍


OCPBUGS-7785: migrate to using lease objects for leader election

/jira refresh

/label backport-risk-assessed

/retest-required

/approve
/lgtm

/retest

/retest-required

/label cherry-pick-approved

@coreydaley Please add label cherry-pick-approved, I cannot. Thanks.

/label cherry-pick-approved

/assign @jitendar-singh

/label cherry-pick-approved

/retest-required

/retest-required


training under fully supervised and UO zero-shot settings

Hi. Thanks for your work!
Would you please guide me if I have to set up a training script for training EoID under fully supervised setting? What dataset file should I be using for that? Also, if I want to evaluate on UO setting, is there any dataset file in the code which can be directly used? If not, would you please suggest what dataset file needs to be modified to construct the one for UO?

Hi. Just a small question again. What is the different between hico_uc_base and hico_uc_st? For UC setting, which one to use, could you please tell?

We have updated train.sh, please uncomment 'EoID UC setting' for UC training.

Thanks!

I think an update to "get_ua" function to return just the empty list is also necessary in the dataset file (hico_ua_st_v2) for UO setting, in addition to the update you suggested, right?

The get_ua() is used to determine which samples belong to Unseen. So you can update it according to your needs.

While training the model in the UO setting, should we using the same value for the "pretrained" argument (DETR pretrained weights) as used in train.sh file provided?

It's a little bit out of our scope. Under the UO setting of the most previous works, the object detector(such as pretrained DETR) has seen all the objects including unseen objects, and the HOI model is only need to combine the actions with unseen objects for UO setting.  In my opinion, this is also need to combin the novel object detection into the HOI model.

Hi @mrwu-mac. I have created a pull-request for the hico_uo_st.py file in the UO setting. Would you please take a look at it and merge it accordingly in your repo if everything is fine? If there are any issues, please let me know. It will be helpful for training and testing EoID in UO setting.

Sorry, we currently have no plans to merge it, and we don't have additional computing resources to verify it, you may try to verify it yourself.


[TEST PULL REQUEST]

Testing something. Ignore

@riarenas,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


How to set MAX_CPU_NUMBER using CMake build system

Hello, we have a quite simple question. How to set MAX_CPU_NUMBER using CMake?
Kind Reagrds, Dmitri

use cmake -DNUM_THREADS= with the desired number please

Hello, thank you. I am wondering if setting NUM_THREADS to 256 I will be able to run with lesser number of threads. "MAX" in MAX_CPU_NUMBER sounds differently.

The actual maximum at runtime is always limited to the number of (pseudo)cores detected, and there are environment variables that can be set to reduce this further if necessary.

Thank you. Clarified. I am closing it.


Unable to see Mailchimp menu from CP

After installing Mailchimp version 2.5.1 on Statamic 3.0.35 I am not able to see the Mailchimp menu option in the CP.

The new release solves this issue


rpm: fix E: incoherent-logrotate-file

It should be /etc/logrotate.d/PACKAGE-NAME.

Thanks!

Oops, CI fails
RPM build errors:
    File not found: /root/rpmbuild/BUILDROOT/td-agent-3.7.1-1.el6.x86_64/etc/logrotate.d/td-agent.logrotate
Failed ./build.sh

It's fixed via #85


Topic/calculate vote

yarn hardhat get-vote-gauge-weight --network astar

Let's check this out at next voting time.


colouring of highly variable genes on pl.filter_genes_dispersion

I was trying to reproduce the results in Example 1 on notebook
https://github.com/theislab/scanpy_usage/tree/master/170505_seurat
I'm getting two problems in the filtering steps in cell 9:

although genes seem to be filtered (there are 1838 genes left versus 13714 before), the plot does not show a different colour for 'highly variable' and 'other' genes. Both appear black (see attached figure). I've both tried it in a jupyter notebook and ipython. I'm running python in a conda environment with matplotlib <IP_ADDRESS>.py35_0 and seaborn 0.8_py35

There's also the following warning message, that seems to complain of a divide by zero on the mean:
/anaconda/lib/python3.5/site-packages/scanpy/preprocessing/simple.py:193: RuntimeWarning: invalid value encountered in true_divide
dispersion = var / mean
Is

Thanks!

Hi and sorry for the very late response!

Hm, this seems to be related to your matplolib version and I've never seen this before. The code for the plotting function is here. Try installing matplotlib 2.0.0.

The warning can be ignored, in my experience. Soon, we'll catch that case explicitly.

using matplotlib 2.0 solves the issue. thanks!

Cool! :)


[docs] Fix link in README.md

Fix browser support page link.

Hi @murajun1978,
Thanks for the fix!


546 applying and updating tokens works for one user but another user in the same file doesnt see the changes

@swordEdge The functionality is working, only the UI is not updating at the same time. Now you first have to visit another tab in the plugin, to make the changes in the UI visible.
Maybe you can add a watcher when the state is updated to re-render the UI.

@swordEdge did you see the feedback?

@swordEdge did you see the feedback?

@six7 Sorry. I just forgot to push. haha.

very cool! thank you!


Unable to view settings window

Hi, I'm trying to view the settings to be able to update my login info but it doesn't fully open - it just opens as a thin vertical bar that I can't adjust.

Is there anything I can do to fix that?  I tried uninstalling it but it still persists.

Thanks for the report, I already pushed a fix for this bug in v2.8 that should be out in a few days after it goes through review.


Logout not logging out completely it seems...

How is logout designed to function? Currently it is partially working like LEAVE button.
I logged out from the room and closed the Chrome browser. Then, I opened a new browser and could initiate a new room as an authenticated user without logging in again. It seems like my logged in credentials were still stored in the browser. I wasn't truly logged out.
I'm testing with Auth0 as oidc provider.

Have you logged out form your oidc provider? Not only left the room and closed the browser.

Well, I log-in to OIDC provider from MM. The OIDC provider login window leads into the MM app once the login is successful. That's as far as OIDC goes. I don't have a separate OIDC logout functionality built anywhere in the app or the browser.
The only logout is in MM. In case of Google OIDC auth, it's little different when using Chrome.
What is the logout supposed to do in MM?
Can something be added in OIDC config in MM to accommodate logout at OIDC provider as well?

Logout in MM removes the user from the react session, but if your oidc did not log him out, then when he enters next room he gets reauthenticated by oidc and passport puts the user data again in the session. I think this happens in your scenario.

When you click log out in m-m, passport should log you out on the m-m server, and you should not be authenticated the next time you join.
You say that it works like a leave button, what do you mean? Logging out should not drop you out of a meeting.

Logout from m-m does not log me out from the m-m server. I can come right back in without logging again.
Additionally, when I login from the lobby screen, I return back to lobby screen instead of the meeting room. On the lobby screen my username and picture is updated from the OIDC provider.
I tried to see how it works on letsmeet.no but OIDC is showing a blank screen there.
What I mean by logging out working partially like leave is that I can leave and come right back into the meeting again without logging in. Since logout is not logging me out of m-m server, I can leave/close the browser and came right back in without logging in again

Just fyi.... my test setup: HA Proxy and Redis on one server and 3 m-m nodes.
Setup works great expect for the logout issue. Not sure if cluster setup would impact logout in any way.

Another issue - after logout, Clear Chat, Clear files, mute all video, etc.  (logged in user features) are still available in the flyout panel.

@havfo when I use m-m in standalone mode on just one server, login and logout works fine.
When using it in cluster mode with HAProxy, login and logout features behave erratically as mentioned above. Any suggestions on what could be the issue?

Yes, so we need to add roomId to logout function in RoomClient to make the logout request arrive at the correct server in a load balanced scenario.

Ok, I think the same would have to be done for login function because it does not work in load balanced scenario from the lobby room. It randomly works when clicked a few times.


Final Project Feedback

Hey @amiletic84 – Congratulations, your Final Project passed! We'll be approving it on the course itself in a week or two, but here's your feedback in the meanwhile:
Frontend

If the wallet isn't on the right network, your frontend creates a silent error -- the screen just goes blank. Opening the console, I can see some React errors. However, once on Ropsten, the app renders. It would be good to have a solution if the user is not on Ropsten.
Frontend deployment looks good! I'm not getting a Game ID on the Ropsten version, any reason for that? Oh, all of the sudden I can see it -- might be a minor bug?

Testing

Tests look solid, I had an issue with your migration script locally for test/3_rock_paper_scissors.js where I had to remove the from variable on line 12 -- take a look into that! I almost wouldn't have been able to pass your project!
Very cool about the game token design, the ""while paused no minting"" test case is interesting

Design and Security

The Rock-Paper-Scissors with commit-reveal game is one I've seen a number of places,but I'm glad you also incorporated elements of a token as well to give it variation.
The inter-contract execution element seems interesting, I wasn't able to recreate it locally and I didn't see it in your demo video, but I would love to see an example!

Overall

Very solid project! Nice incorporation of multiple contracts, a commit-reveal scheme, and inter-contract execution. Game on!"

Hi,
thnx for feedback,
regarding those bug found on unit test's, I made same last minute changes for Ropsten deployment and
i did not re-run the test (such a beginners mistake :)).
The solution is quite trivial
const owner = network === "develop" || network === "test" ? accounts[0] : process.env.OWNER_ID;
Can I push this change on git? There is a notice not to push anything after 30th November.
Inter-contract execution you can see in video, when one of the players wins in game, token balance is increased.
I will try to fix this UI issues regarding wrong networkId but I was not really focused on UI and handling all of the errors and edge cases, I just wanted happy flow with some minor error handling.


Large expression ignored

Describe the bug
rustfmt, when invoked directly or via cargo fmt, ignores a large expression, while formatting rest of the file and other files in the same project.
To Reproduce
The large expression is: https://github.com/osa1/sg/blob/1465f2491fd4f3fd9b821a5c1c8294cae63ac0f1/src/cli.rs#L56-L136

Clone the repo: git clone https://github.com/osa1/sg
Checkout the commit: git checkout 1465f2491fd4f3fd9b821a5c1c8294cae63ac0f1
Edit the file src/cli.rs to break indentation, or join lines etc. in lines 56-136.
Run cargo fmt, or rustfmt directly.

You'll see that the expression won't be formatted. If you break indentation etc. in the rest of the file those will be formatted as expected.
Expected behavior
I'd expect the code to be formatted.
Meta

rustfmt version: rustfmt 2.0.0-rc.2-nightly (257311c3 2021-02-15)
From where did you install rustfmt?: git repo
How do you run rustfmt: cargo-fmt, or from editor, using rust-vim

Thanks for the report, but going to close this as a duplicate of many previous similar issues and advise subscribing to #3863
You've got a string lit for one of the help texts that's too long which prevents rustfmt from being able to format the chain to fit within your max_width constraints (default is 100).
It's this line in particular (note indentation hits on width not maintained in GitHub copy/paste, but in your code it's well over 100)
.help("Group matches by file name, print file name once before matches (enabled by default)")

Recommendation in these cases is to refactor your code a bit so that it's possible to fit everything within the width limits, either by defining a local with the lit value outside the chain, or by splitting the string into multiple lines yourself, or by enabling format_strings to give rustfmt permission to multiline long strings on your behalf.


Support for GLTF files

Hi
Just tested this with .obj file downloaded from Google Poly. Good Plugin.
However, I wish to use a .gltf file created by me in Blender. Is there a support or plans to include this format in the new versions?

Hi
Just tested this with .obj file downloaded from Google Poly. Good Plugin.
However, I wish to use a .gltf file created by me in Blender. Is there a support or plans to include this format in the new versions?

Hey did you find any plugins that support other formats from blender. from .dae to gltf?? thanks

I tried the demo of  Filament released by Google on Android. And it works like charm. It is also compatible with Flutter and JetPack Compose. The issue is that it requires C++ skills, which I am not very good at.
You could check it out at : https://github.com/google/filament
and the demo on Android at https://medium.com/@philiprideout/getting-started-with-filament-on-android-d10b16f0ec67.

@gputhige Thanks a lot! I'll take a look at it. Right now im trying to do everything on unity and see if it solves all my problems. It seems like it might be the perfect solution.


Introduce a libp2p_connections_total metric that tracks the number of libp2p connections

I think this was implemented with #2423 - see NUM_LIBP2P_CONNECTIONS_GAUGE
Please re-open if this ticket meant something else.


[REST API Renderer] Wizard Cancel force redirect Response

First of all we pushed our Renderer to GitHub today:
suenerds/arcanist-rest-api-renderer
We tried to implement a cancel button today and found a hardcoded redirect response in the Wizard destroy method.
Idea for a solution:
You have build a delete hook for clean up purposes.
As we need a way to overwrite the redirect response I want to use the same mechanism for completing the wizard
/**
     * The action that gets executed after the last step of the
     * wizard is completed.
     */
    protected string $onDeleteAction = NullAction::class;

/**
     * Gets called after the last step in the wizard is finished.
     */
    protected function onAfterDelete(ActionResult $result): Response | Responsable | Renderable
    {
        return new JsonResponse([
            'redirect' => [
                'path' => '/wizard/assignments'
            ]
        ]);
    }

 public function destroy(Request $request, string $wizardId): Response | Responsable | Renderable
    {
        $this->load($wizardId);

        $result = $this->actionResolver
            ->resolveAction($this->onDeleteAction)
            ->execute($this->transformWizardData());

        if (!$result->successful()) {
            return $this->responseRenderer->redirectWithError(
                $this->currentStep(),
                $this,
                $result->error()
            );
        }

        $this->wizardRepository->deleteWizard($this);

        return $this->onAfterDelete($result);
    }

The Delete Hook will be an Action Class after that and we can use  the onAfterDelete function to do whatever we need to do after Delete.
I will update this issue when my PR is ready.

This is really two different issues:

Perform some sort of cleanup when a wizard gets deleted
Use the ResponseRenderer to return the response instead of hardcoding redirect()

Regarding the first issue, the destroy method already calls a beforeDelete hook that you can override to perform whatever cleanup necessary. By default, this is simply an empty method. (https://github.com/laravel-arcanist/arcanist/blob/main/src/AbstractWizard.php#L232). Adding another action class would add a lot of unnecessary overhead in this case in my opinion.
I definitely agree, however, that the destroy method should use the ResponseRenderer. That was an oversight on my part.

Regarding the first issue, the destroy method already calls a beforeDelete hook that you can override to perform whatever cleanup necessary. By default, this is simply an empty method. (https://github.com/laravel-arcanist/arcanist/blob/main/src/AbstractWizard.php#L232). Adding another action class would add a lot of unnecessary overhead in this case in my opinion.

Thats a good point. The beforeDelete hook should be flexible enough.
But I think in most cases you wouldn't touch the default NullAction.
It was just an idea to have the same implementation for both very similar cases.

I definitely agree, however, that the destroy method should use the ResponseRenderer. That was an oversight on my part.

Moving a redirect method into the ResponseRenderer will be a bit tricky because the contract already have a redirect method. That would be a more cleaner way to tackle that problem.
What do you think about moving the redirect()-> into a function onAfterDelete?
/**
* Gets called after the last step in the wizard is finished.
*/
protected function onAfterDelete(): Response | Responsable | Renderable
{
    return redirect()->to($this->redirectTo());
}

with changing this Line: https://github.com/laravel-arcanist/arcanist/blob/9dc3fedbfa196704ac05da681f7983b4e898103f/src/AbstractWizard.php#L236
return $this->onAfterDelete();

That does the job and isn't a breaking change for now.
Maybe we can rethink the Renderer to move all routing into one Class.

Solved by #20


swift 3 support

Hello, may I just say this is a great project. But there is one problem. Could you update this to swift 3.0.

Hello world. I am

hey folks, sorry about the long delay for swift 3 support! we've updated to swift 3 in the latest release


Update install docs required golang version

Today I got this message trying to install ipfs:
$ go get -u github.com/ipfs/go-ipfs/cmd/ipfs package github.com/ipfs/go-ipfs/cmd/ipfs
    imports github.com/ipfs/go-ipfs/cmd/ipfs
    imports github.com/ipfs/go-ipfs/cmd/ipfs: ../../../.go/src/github.com/ipfs/go-ipfs/cmd/ipfs/go_req.go:3:1: expected 'package', found 'STRING' `IPFS needs to be built with go version 1.5 or greater`

Ah, yes thanks. sorry about that

Would be nice if we had a github hook to automatically publish this to IPFS and DNS


3.3V / 5V

Hey there.
Again, thanks a lot for these, they have been very useful, and will be used more ( I'm preparing a video series that uses them too ).
In these : http://smoothieware.org/pinout , the power for the endstops, and the power for the serial, says 3.3V, but it's actually 5V. So I opened an issue :)
Cheers !!!

Will fix that as soon as possible :-)

Fixed the wrong labels for both graphics

Yay ! And it auto-updated on the wiki, perfect !
Thanks a lot :)
On Mon, Sep 28, 2015 at 9:19 AM, bouni<EMAIL_ADDRESS>wrote:

Fixed the wrong labels for both graphics
—
Reply to this email directly or view it on GitHub
https://github.com/Bouni/smoothieboard-graphics/issues/1#issuecomment-143658502
.

--
Courage et bonne humeur.


Update the small_generic icon to be correctly named

Verified that @boxtcarpel has signed the CLA. Thanks for the pull request!

@jlawton please review retroactively.


Fix/local storage configure

Fixing https://github.com/sighupio/furyagent/issues/15
Bumped version for stow fixing the local provisioner and using same name if not specified otherwise for downloads.

Tested locally and works ;) Thanks @phisco!


init Limesuite, SoapySDR

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build soapysdr limesuite

Success on x86_64-linux (full log)
Attempted: soapysdr, limesuite
Partial log (click to expand)
shrinking /nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0/bin/LimeSuiteGUI
shrinking /nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0/bin/LimeUtil
shrinking /nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0/lib/libLimeSuite.so.17.12.0
shrinking /nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0/lib/SoapySDR/modules0.6/libLMS7Support.so
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0/lib  /nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0/bin
patching script interpreter paths in /nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0
/nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0/share/Lime/Desktop/install: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0/share/Lime/Desktop/uninstall: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
checking for references to /tmp/nix-build-LimeSuite-17.12.0.drv-0 in /nix/store/06njxrs249qpmbjhpqqc27xiwy5krqj5-LimeSuite-17.12.0...

Success on aarch64-linux (full log)
Attempted: soapysdr, limesuite
Partial log (click to expand)
shrinking /nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0/lib/SoapySDR/modules0.6/libLMS7Support.so
shrinking /nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0/lib/libLimeSuite.so.17.12.0
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0/lib  /nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0/bin
patching script interpreter paths in /nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0
/nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0/share/Lime/Desktop/uninstall: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0/share/Lime/Desktop/install: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
checking for references to /build in /nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0...
/nix/store/jr84qgggfgar257mm6kziazdjwzrwpn7-SoapySDR-0.6.1
/nix/store/nh05p4dgc1sbrf7v02m8y2plkq4z79zy-LimeSuite-17.12.0

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: soapysdr, limesuite
No log is available.

How do you keep track of the SoapySDR plugins? Every application that wants to use the soapysdr backend needs to have (i) an environment variable set pointing to all plugin derivations or (ii) have all plugins a the soapysdr compiled in path.


vanillatweaks share code yields invalid file

Describe the problem
I have created a vanillatweaks resource pack, copied the share code, and added it to my server using
VANILLATWEAKS_SHARECODE: "5g3AhS,8wgBco"
REMOVE_OLD_VANILLATWEAKS: "TRUE"

The share code in question is the first one, the latter works fine. However, when the server starts up, it produces a broken zip file. Reuploading this zip file on vanillatweaks yields an error that it's a crafting tweak instead.
Container definition
version: "3.8"
services:
  minecraft:
    image: itzg/minecraft-server
    container_name: minecraft
    user: "${UID}:${GID}"
    tty: true
    stdin_open: true
    ports:
      - "25565:25565"
    environment:
      UID: 1026
      GID: 65536
      SERVER_NAME: redacted
      ICON: "/assets/icon.jpg"
      TYPE: FABRIC
      VERSION: "1.20.1"
      DIFFICULTY: hard
      VIEW_DISTANCE: 20
      SIMULATION_DISTANCE: 10
      MAX_MEMORY: 12G
      VANILLATWEAKS_SHARECODE: "5g3AhS,8wgBco"
      REMOVE_OLD_VANILLATWEAKS: "TRUE"
      SPAWN_PROTECTION: 0
      ENABLE_AUTOPAUSE: "TRUE"
      AUTOPAUSE_TIMEOUT_INIT: 600
      AUTOPAUSE_TIMEOUT_EST: 600
      # Needed for autopause
      # https://docker-minecraft-server.readthedocs.io/en/latest/misc/autopause-autostop/autopause/
      MAX_TICK_TIME: -1
      EULA: "TRUE"
    volumes:
      - /volume2/docker/redacted/assets:/assets:r
      - /volume2/docker/redacted/data:/data:rw
    network_mode: host
    restart: always

Container logs
2023/09/19 10:53:57 | stdout | [mc-image-helper] 08:53:57.815 INFO  : Downloading Vanilla Tweaks resourcepacks for share code 5g3AhS
-- | -- | --
2023/09/19 10:53:56 | stdout | [mc-image-helper] 08:53:56.263 INFO  : Downloading Vanilla Tweaks datapacks for share code 8wgBco

I guess #1740 might mean this is issue is a moot point.

I guess #1740 might mean this is issue is a moot point.

Correct

Fair enough, let’s close it then.


Add files via upload

add the university "Centro Universitario Celsus" so that students and teachers have access to the free GetBrains tools

The page of my institution is https://www.unicuc.mx/inicio/

@LunaOctavio First stage of verification passed, official domain is unicuc.mx 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.

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

Thanks!!!


Github 1.9.3: 'Vandelay Industries' compile error

based on several recommendations (Dynamic Form, Image Editor) I downloaded Orchard 1.9.3 from Github. All seems ok except when downloading the 'Vandelay Industries' Module from the Gallery -  I get following compile error in 'DefaultExtensionCompiler.cs' (line 116):
error msg:
An exception of type 'Orchard.OrchardCoreException' occurred in Orchard.Framework.dll but was not handled in user code
Additional information: Error compiling module "Vandelay.Industries" from file "/OrchardLocal/Modules/Vandelay.Industries/Vandelay.Industries.csproj":
Assembly reference 'System.Data.DataSetExtensions' for project '/OrchardLocal/Modules/Vandelay.Industries/Vandelay.Industries.csproj' cannot be loaded
end error msg
PS: same issue when downloading/compiling 'Bing Maps'!
Knowing that 1.9.3 is not released officially ... somebody might have a hint
thanks for your time, ed

Got the same thing and for many other older modules.

Did you see concrete compile errors in the logs? What happens if you add the project to the solution and try to build it manually?
Also you might need to update such old modules on Orchard upgrades, this time maybe the .NET target version changed.

I've seen that the TargetNetwork in 1.9.3. is 'v4.5.2' (config.web)!. In .csproj: Module 'Vandelay' is v4.5; Bing Maps v4.0; changing it didn't help. Also,  I did do a fresh download from the Gallery!
see also the attached file Log.txt
Any ideas .... thanks for your time, ed
Log.txt

I have a hunch that you just have to remove the otherwise unused System.Data.DataSetExtensions reference from the module.

Same issue when removing
from Vandelay .. .csproj
Do you think of other referencies?

This same reference, "System.Data.DataSetExtensions", is in almost all of the 1.9.3 core modules along with targetFramework="4.5.1" in modules = and in all dll.config's and web.config's. SO these need to be changed, tried a bulk replace of targetFramework="4.5.1" to targetFramework="4.5.2"  then nothing worked??? Not even the logs.

Removed System.Data.DataSetExtensions and now get error of:
The assembly reference 'System.Web.Entity' could not be loaded for module ' Any and all additional modules besides core modules'.
No .dll called System.Web.Entity.dll. Update references to
Now everything works.

Solved see git hub post: https://github.com/OrchardCMS/Orchard/issues/6359
On Tue, Feb 9, 2016 at 8:14 AM, Ed Kaufmann<EMAIL_ADDRESS>wrote:

Same issue when removing
from Vandelay .. .csproj
Do you think of other referencies?
—
Reply to this email directly or view it on GitHub
https://github.com/OrchardCMS/Orchard/issues/6359#issuecomment-181880630
.

--
Donald W. Boulton

The issue is that at some point the MarkdownSharp dll was replaced by the source code (a single file) as we were not using nuget and the package was not updated and not in sync with the source code. The solution is to reference the MArkdown module from Vandalay.Industries. At the same time we will fix 1.10.x to include this library from Nuget as we are now using it.


utils.docstring_from() decorator does not work

The decorator does no do what it should, which is copy the docstring from the original function to (say) the accessor. See disabled test in test_pandas.py

Hey @kwinkunks, I went through the code and found the copying doc string inside the wrapper function won't work as it will only be applied when the wrapper function is called (i.e. wrapper() which will then do the copy and return the actual wrapped function. It will be better to just copy that to the wrapper function object. I have raised a PR for the same

Solved by 5eb9b45ad3e5915133ad5f37b45bdabdf9091717
Thank you @YellowFoxH4XOR 👍


[renormalize] Correct line endings on mvnw.cmd

file was treated incorrectly.  Used -> git add . --renormalize to find this.

Thank you for your contribution @hazendaz!


Making a blacklisted license check compare against pkg manifest

Signed-off-by: Elena Reshetova<EMAIL_ADDRESS>

please retest this

retest this please

retest this please
The taskhash error might now be fixed in ostro-os master.

You are really unlucky - next build failure also requires fixes in ostro-os master.

retest this please
iotivity-node was updated in ostro-os master, so builds should work again.

still hash mismatch....

The latest master build was okay: https://ostroproject.org/jenkins/job/ostro-os_master/448/
I'm running a bit out of ideas :-/
retest this please

Perhaps the task hash mismatch really is caused by something introduced in this PR?
Yes, d.getVar('DATETIME', True) adding in this patch can do that.
@ereshetova You already have a isafw_init[vardepsexclude] = "DATETIME" for the same reason. Please also add it for manifest2pkglist. I'd also put these definitions right next to the actual function definition, but that's more a personal preference.

@pohly, oh, I remember that Mikko added isafw_init[vardepsexclude] = "DATETIME" at some point due to a failure in CI, but I didn't understand the actual cause at that time. Why does it fail with this?

@ereshetova bitbake evaluates the task signatures twice: once before starting and again when writing out the actual signature file. Task signatures include a dependency analysis on all input variables. If any of these variables change their value between invocations, the taskhash mismatch occurs.
DATETIME does that, but as the task does not need to be redone if that variable changes, it can be excluded from the task signature via vardepsexclude.
You should be seeing the same error when you run it locally.

@pohly, thank you for explaining! I didn't see the same error locally (I run it million times before submitting a PR). I think it might be due to my older version of Ostro. I will update the repo.

We talked a bit about integrating that into the CI. This would be a separate PR, right?

The xml junit reports have all nessesary info generated for CI. Now, in order to enable it on CI side, there needs to be work done by Olev. No PRs are needed for isafw anymore unless smth found to be buggy/not working.

+1 from me.
However, merging is blocked by conflicts. Probably the Python cleanup from kad. Please rebase.


DUI3-326:  Add civil3d 2024 converter

Adds the Civil3d 2024 converter.
This pr includes required changes to container registration in order to support converter injection into a connector vertical.
These changes should be reflected in the other DUI3 converter DI projects before this pr is merged.
First pipe sent to speckle from Civil3d: https://app.speckle.systems/projects/b53a53697a/models/719612f9da
Description & motivation
Changes:

sdk container registration
missing autocad conversions
civil3d 2024 converter

To-do before merge:

[x] Fix container registration for all other DUI3 converter DI projects

Q: why we removed ITypedConversions and extracted them? In order to use them on Civil3D too?

There is no difference between having a converter implement both ITopLevelConverter and ITypedConverter, or to separate out the typed converter class to be called from the top level converter. I thought the second option is cleaner, so we can see at a glance all our typed converters.


Fix label list divider

We only needs 2 lines to hide the dividers.
  $dropdownLabelFilter.dropdown('setting', {'hideDividers': 'empty'});
  $dropdownLabelFilter.dropdown('refreshItems');

Other code blocks are refactored by the way.

So the logic is that there is a divider between exclude and include labels? I find that highly confusing UX, it would be better to show a "X" for exclude labels, but can be fixed in another PR.

So the logic is that there is a divider between exclude and include labels?

Sorry I didn't get your point. The dividers are for "exclusive groups", not for "excluded" or "included".

That raises the question, what is an "exclusive group"? 😆

That raises the question, what is an "exclusive group"? 😆

Well, the problem is still related to "exclusive group". Because at the moment the label list is rendered as this:

So, if you search "u", that the screenshot:

I guess you might be able to understand what I mean ....

Ah, so it means the labels are part of a defined "set", and that's what the dividers indicate. In any case, I think this needs a rework to just have a divider after every item, but I can accept this improvement.

Let's try backport.

The complete fix should be like this:  Fix duplicate dropdown dividers #32760 , not that simple but perfect.


perf: dedup rpc requests when multiple datasets are requested

when cryo collects multiple datasets in the same run that use the same rpc, avoid making duplicate rpc requests.
for example, cryo.freeze(['traces', 'contracts']) uses trace_block and can extract the data from one response.

Hmm right now each datatype is a separate tokio task (freeze_multi_datatype_chunk), so maybe across each chunk we can have a shared memoization cache similar to https://github.com/graphql/dataloader#caching


Vulnerability roundup 92: blackbox_exporter-0.16.0: 1 advisory [5.8]

search, files

[ ] CVE-2020-16248 CVSSv3=5.8 (nixos-20.03)

Scanned versions: nixos-20.03: 925ae0dee63.
Cc @ehmry
Cc @fpletz
Cc @globin
Cc @lethalman
Cc @willibutz

20.03 is Frozen and EOL.
As such, issue is closed.


device consistency

refactoring device consistency from #122. This moves the project, psd estimator, and waveform generator to the right device.

anything else on this?

nope


Does the algorithm support scaling ?

Not at the moment. The project only implements the basic, original ICP algorithm.


Adding a reviewer doesn't update list

Type: Bug

Added a reviewer in a PR
List stays empty
Opening the quick pick again, reviewer is already marked added

Extension version: 0.57.2023011709
VS Code version: Code - Insiders 1.75.0-insider (1379f0375440df946adc62f7afb8375dd45d5adf, 2023-01-17T05:21:02.509Z)
OS version: Darwin x64 22.2.0
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
4, 5, 5

Memory (System)
64.00GB (2.39GB free)

Process Argv
--enable-proposed-api donjayamanne.kusto --log trace --crash-reporter-id 4cf0a6f0-aaf8-4da3-9b2b-81f6c639c12b

Screen Reader
no

VM
0%

List stays empty

I can't reproduce this. Is there a specific repo that this is reproducing in?

No, sorry. I saw it once yesterday and also didn't see any errors in the logs.


Could you make it laravel 5.1 support querying JSON column types in databases, please?

This won't happen as backporting a feature is not part of the LTS (Long Term Support) policy.
From https://laravel.com/docs/5.1/releases#support-policy

For LTS releases, such as Laravel 5.1, bug fixes are provided for 2 years and security fixes are provided for 3 years. These releases provide the longest window of support and maintenance. For general releases, bug fixes are provided for 6 months and security fixes are provided for 1 year.

Your only option is to upgrade to 5.2. If you don't want to do most of the upgrade yourself, you can use https://laravelshift.com to handle the majority of the upgrade process.