OSX Yosemite Kitematic doesn't install

This is the dump it shows on the install screen.
C
/Applications/Kitematic (Beta).app/Contents/Resources/app/resources/docker-machine-0.2.0 create -d virtualbox --virtualbox-memory 2048 dev returned non zero exit code stdout:time="2015-04-18T12:09:01+01:00" level="info" msg="Creating SSH key..." time="2015-04-18T12:09:03+01:00" level="info" msg="Creating VirtualBox VM..." time="2015-04-18T12:09:30+01:00" level="error" msg="Error creating machine: exit status 1" time="2015-04-18T12:09:30+01:00" level="warning" msg="You will want to check the provider to make sure the machine and associated resources were properly removed." time="2015-04-18T12:09:30+01:00" level="fatal" msg="Error creating machine" stderr:

@crislar Thanks for the issue. I'm very close to reproducing this but in the meantime I'll group this with #295. Closing for now, and feel free track the progress on that issue!
Jeff

will do thanks for the rapid feedback!
Christian
Jeffrey Morgan wrote:

@crislar https://github.com/crislar Thanks for the issue. I'm very
close to reproducing this but in the meantime I'll group this with #295
https://github.com/kitematic/kitematic/issues/295. Closing for now,
and feel free track the progress on that issue!
Jeff
—
Reply to this email directly or view it on GitHub
https://github.com/kitematic/kitematic/issues/394#issuecomment-94181982.

--
Christian de Larrinaga
FBCS, CITP, MCMA
@ FirstHand
+44 7989 386778
<EMAIL_ADDRESS>


Apache cTAKES service

cTAKES purports to provide all these vocabularies:
medications, diseases/disorders, signs/symptoms, anatomical sites and procedures
My hope is that it can suffice for all these functions:
(1) fast (typeahead) lookup any of the 5 types of things listed above
(2) parsing these named entities out of text
(3) hierarchical taxonomy - if a rule says "diabetes" then we can identify any of the children of the "diabetes" node
(4) updateable with backwards compatibility.  As new versions of cTAKES come out, new terms can be added but old ones do not vanish.
Can you install cTAKES and expose it as a REST+JSON-based service?

Does cTAKES include a search engine?
The Meteor search package I am using supports ElasticSearch
http://matteodem.github.io/meteor-easy-search/docs/elastic-search/
so if we indexed cTAKES databases with ElasticSearch it would work out of the box.
but I could create a custom connector for Solr I am sure.
http://matteodem.github.io/meteor-easy-search/docs/search-engines/


Bumped development RELEASE for 1.19-17

Bumped development RELEASE for 1.19-17
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Access the fingerprint (or rack env) inside *.erb templates

I'm working on an application that should allow the user to change the look and feel of the application. I'd like to achieve this by saving the user's "theme" settings in a database, and then referencing the "current" theme's asset URL in the layout. Something like:
app/views/layouts/application.html.erb:
<html>
  <head>
    <link rel="stylesheet" href="/assets/theme-<%= Theme.current.id %>.css">
    ...

Then, when the browser requests this URL, I'd like to programmatically access the HTTP request or at least the "id" part in the Sass/ERB template:
app/assets/stylesheets/_theme_variables.css.scss.erb (required by theme.css):
<%
fingerprint_from_the_url = '???' # Here I need to access the request, or at least the "fingerprint" part
theme = Theme.find(fingerprint_from_the_url)

theme.settings.each do |key, value| %>
$<%= key %>: <%= value %>;
<% end %>

After preprocessing with ERB, this should produce the following SCSS file:
$background_color: #eee;
$font_size: 16px;

depending on the settings stored in the Theme record.
Does this concept even make sense or maybe there's a better way to achieve it using Sprockets/Rails?
There are some caveats I can see, like what to do during precompilation (where obviously there is no request).
I'm willing to submit a patch, given acceptance and some guidance.

There is a rails helper for this, its not part of sprockets.
Just try using the asset_tag("themes-#{id}").

@josh thanks for looking into this.
Generating the <link> tag is the trivial part :). The biggest problem I'm trying to solve is accessing the request (or at least the fingerprint from the request URI) within the asset templates (e.g. _theme_variables.css.scss.erb).
I've hacked around Sprockets, and it was possible if I completely disabled caching (both compiled asset caching and asset template caching), which turned out to be too much of an overkill. We've currently abandoned that idea, but still it would be nice if Sprockets allow more dynamic ERB rendering in runtime.

Well, if your using erb, you can do anything.
This will give you the fingerprint of any asset: Rails.application.assets["theme.css"].digest.
Just try that inside an erb tag. Just watch out for circular dependencies.

The problem is that the ERB templates get cached, and I want them to be re-evaluated once for every URI, e.g.:
Let's say we have an asset app/assets/stylesheets/theme.css.scss.erb with content:
<% fingerprint = environment.fingerprint_from_request %>
<% theme = Theme.find_by_id(fingerprint) %>

<% theme.settings.each do |name, value| %>
$<%= name %>: <%= value %>;
<% end %>
/* Current time is <%= Time.now %> */
...

I want requests GET /assets/theme-1.css and GET /assets/theme-2.css should produce a different set of SCSS variables and a different Time.now comment.

Ah, checkout depend_on in docs.


Use items instead of iteritems for Python 3 compatibility

Ran into this while building with my (somewhat unusual) configuration of having python refer to python3 on my machine. iteritems was renamed to items in Python 3 (and items already exists in Python 2) so this code works on both versions (if being slightly more inefficient on Python 2).

Thanks. I try to keep the Python code compatible with both 2.7 and 3.x, but I don't regularly test with Python 3. I try to catch these issues in the lib/cretonne/meta/check.sh script.
If you know of any pylint settings that can help with this, patches welcome!


error in training when using all classes of brise data

ValueError: This solver needs samples of at least 2 classes in the data, but the data contains only one class: 0.0
Traceback:
File "/home/recski/miniconda3/envs/brise/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script
    exec(code, module.__dict__)
File "/home/recski/projects/POTATO/frontend/app.py", line 1248, in <module>
    main(args)
File "/home/recski/projects/POTATO/frontend/app.py", line 1230, in main
    evaluator, data, val_data, graph_format, feature_path, hand_made_rules
File "/home/recski/projects/POTATO/frontend/app.py", line 270, in simple_mode
    data, st.session_state.min_edge
File "/home/recski/projects/POTATO/frontend/utils.py", line 254, in train_df
    features = trainer.prepare_and_train(min_edge=min_edge, rank=rank)
File "/home/recski/projects/POTATO/xpotato/models/trainer.py", line 60, in prepare_and_train
    return self.train(min_edge=min_edge, rank=rank)
File "/home/recski/projects/POTATO/xpotato/models/trainer.py", line 137, in train
    self.model.fit(train_X, train_Y)
File "/home/recski/miniconda3/envs/brise/lib/python3.7/site-packages/sklearn/linear_model/_logistic.py", line 1558, in fit
    " class: %r" % classes_[0])

@adaamko
this happens when I run
streamlit run ~/projects/POTATO/frontend/app.py -- -t data/gold       -v data/gold       -g fourlang

(So I am not providing any label)
The data is under kronos:potato_debug/data/

@recski the problem is that the dataset has a list of labels instead of just one. That's why the filtering was needed. Currently we cannot handle multi-label classification (only multi-class).


⚠ GitLab Server has degraded performance

In 3d31ec4, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6907 ms

Resolved: GitLab Server performance has improved in 3cac3cb.


Add package exports

Adds the new "exports" field in package.json to define conditional exports for mustache.js (ESM & CJS). This field is used both by Node and bundlers to resolve dependencies. Since there is no "module" entrypoint for this package, some bundlers (rollup + @rollup/plugin-node-resolve) cannot resolve the module export. This is a step towards making both modules discoverable.
Example
// package.json
{
  "main": "index.js",
  "type": "module",
  "scripts": {
    "build": "rollup -c"
  },
  "dependencies": {
    "@rollup/plugin-node-resolve": "^11.2.0",
    "mustache": "^4.1.0",
    "rollup": "^2.40.0"
  }
}

import Mustache from 'mustache';

const view = {
  title: "Joe",
  calc: function () {
    return 2 + 4;
  }
};

const output = Mustache.render("{{title}} spends {{calc}}", view);
console.log(output)

// rollup.config.js
import resolve from '@rollup/plugin-node-resolve';

export default {
  input: 'index.js',
  output: { file: 'bundle.js', format: 'esm' },
  plugins: [ resolve() ]
}

❯ npm run build

> rollup -c

index.js → bundle.js...
(!) `this` has been rewritten to `undefined`
https://rollupjs.org/guide/en/#error-this-is-undefined
node_modules/mustache/mustache.js
4:   typeof define === 'function' && define.amd ? define(factory) :
5:   (global = global || self, global.Mustache = factory());
6: }(this, (function () { 'use strict';
     ^
7:
8:   /*!
[!] Error: 'default' is not exported by node_modules/mustache/mustache.js, imported by index.js
https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
index.js (1:7)
1: import Mustache from 'mustache';
          ^
2:
3: const view = {
Error: 'default' is not exported by node_modules/mustache/mustache.js, imported by index.js
    at error (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:5279:30)
    at Module.error (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:9996:16)
    at Module.traceVariable (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:10389:29)
    at ModuleScope.findVariable (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:8847:39)
    at MemberExpression.bind (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:6535:49)
    at CallExpression.bind (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:2728:23)
    at CallExpression.bind (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:6730:15)
    at VariableDeclarator.bind (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:2728:23)
    at VariableDeclaration.bind (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:2724:31)
    at Program.bind (/Users/fm813/github/manzt/reference-spec-reader/node_modules/rollup/dist/shared/rollup.js:2724:31)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build: `rollup -c`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/fm813/.npm/_logs/2021-03-03T20_51_56_547Z-debug.log

Thanks @manzt!
Getting an exports field in, is indeed interesting.
Heads up about a few changes planned to be merge from https://github.com/janl/mustache.js/pull/772, which touches upon the GitHub usage tests at least..

No problem. Let me know if there is something else I can do to help. I notice skypack is mentioned in #772; FYI importing mustache currently via skypack returns a CJS wrapped module because skypack can't resolve the ESM module (it uses package exports).
<script type="module">
  import mustache from 'https://cdn.skypack.dev/mustache'; // skypack resolves mustache.js -> transpiles to ESM -> sends back
</script>

skypack cdn source: https://cdn.skypack.dev/-/mustache@v4.1.0-SsFnz9aXKP0TK1yt4fOG/dist=es2020,mode=imports/optimized/mustache.js

Myeah, I also noticed the skypack story isn't ideal ATM. Guess it works, but let's try and do better 😄
Now that #772 has been merged, I'll try to wrap my head around the changes in this PR. I'm also pretty sure I've seen mentioned that adding an exports field should be seen as a semver major change. Does that ring a bell to you? I'll try and track down where I got those rumours from..

This project does so much more than most to make usage seamless. Thanks so much, it's a great library.

Really appreciate hearing that, thanks a bunch!

Thanks @manzt, great research 👍🏻

With that said, I noticed the previous ESM imports in node were mustache/mustache.mjs so I added the export "./*": "./*" naively to keep previous tests passing

Sounds good to me, as that also ensures we keep backwards compatibility with what we've been telling ESM users to do for well over a year.

I think the "./*": "./*" export negates requiring a semver major change, but it's recommended as a "last resort" because you lose the encapsulation that export maps offer to library authors.

I don't consider encapsulation via the exports field important for us to be honest. The majority of what the npm package consists of, is only one .js file after all.
Looking at what our resulting package tarball consists of, I don't see any of those files as "private" implementation details we'd want to avoid exposing to the outside. That's basically what we've been using the files field for already:
https://github.com/janl/mustache.js/blob/3e29d677561cff9924580e67abd61820144c28e5/package.json#L21-L26
Bottom line: I think this is good to go.

Thanks a lot for making this happen, I'm sure it'll make many devs out there happy 💯
I published 4.2.0-beta.0 to npm if anyone would like to give this a shot ASAP:
$ npm install mustache@beta

This has now been elevated from beta -> latest and pushed to npm as v4.2.0.


Recreate whoosh index when unsupported pickle protocol

Fixes #240
Thanks @sbrunato for the snippet!
I could test this by running eodag with python 3.8 first (which introduced a new pickle protocol) and then python 3.7, the error was properly caught and the index recreated.

The tests failed after applying the suggestions, when the index was not yet created (first instantiation of EODataAccessGateway after installing for the first time) shutil.rmtree(index_dir) would raise an error.
I refactored the solution to make it more clear when an error is raised because of another pickle protocol used to create the index vs. an out-of-date index. I think it still preserves the special logic added in https://github.com/CS-SI/eodag/commit/d893dec5e2e76a3d4b502680e48ff2386edf5474 to handle the special NFS case.
I tried this code manually too.


Re-Implement: Allow setting targetPort for https from 1.7

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
Please see: https://github.com/helm/charts/issues/885
This ticket was previously implemented into 1.7 but has seemingly been removed in 2.0+ this is currently a requirement for a client cluster as we do not want to manage SSL internally in the cluster.
All that needs to be exposed is the ability to edit the target port as I have to manually change the service each time I helm upgrade and is quite easy to forget which then Traefik serves 404’s as all of the ingress routes are built for HTTP.
If we could get this implemented that would be a massive help as it currently means that our infrastructure as code cannot be completed as there is a manual step. If there is a work around etc I am all ears!

I am having the same issue as @AceXintense .

Hello,
I don't understand why you want to enable https on Traefik and not use it.
If an external network service should provide your SSL termination, then you may enable only http on Traefik.
With annotations for this https LB on your http service, you will be 100% sure that SSL termination is not done on Traefik.

You did not really answer my question.
When one does not want to use HTTPS on Traefik, then one can just disable it and configure a HTTPS Load-Balancer in front to forward traffic to http port on Traefik on a private network. What do you think about this ?
Providing clear traffic on 443/TCP is unexpected, nowadays, to say the least.


x/tools/go/packages: assembly among CompiledGoFiles unless NeedFiles flag specified

Failing to specify the NeedFiles mode flag seems to trigger the erroneous inclusion of .s files among CompiledGoFiles. Adding the flag fixes the problem. I suspect this is related to https://github.com/golang/go/issues/28749, but even so:
(a) go/packages could implement a workaround if the underlying go list bug can't be quickly fixed;
(b) the NeedFiles flag shouldn't have any effect on the CompiledGoFiles field; and
(c) why is the CompiledGoFiles field populated at all when that mode bit wasn't specified?
$ cat main.go
package main

import (
	"fmt"
	"log"
	"strings"

	"golang.org/x/tools/go/packages"
)

func main() {
	cfg := &packages.Config{
		Mode: packages.NeedImports |
			// packages.NeedFiles |                           // try with and without this line
			packages.NeedCompiledGoFiles,
	}
	pkgs, err := packages.Load(cfg, "runtime")
	if err != nil {
		log.Fatalf("load: %v", err)
	}
	fmt.Println(strings.Join(pkgs[0].CompiledGoFiles, "\n"))
}

$ go run ./main.go > without
# now uncomment the NeedFiles line
$ go run ./main.go > with
$ diff with without
123a124,133
> /usr/local/go/src/runtime/asm.s
> /usr/local/go/src/runtime/asm_arm64.s
> /usr/local/go/src/runtime/atomic_arm64.s
> /usr/local/go/src/runtime/duff_arm64.s
> /usr/local/go/src/runtime/memclr_arm64.s
> /usr/local/go/src/runtime/memmove_arm64.s
> /usr/local/go/src/runtime/preempt_arm64.s
> /usr/local/go/src/runtime/rt0_darwin_arm64.s
> /usr/local/go/src/runtime/sys_darwin_arm64.s
> /usr/local/go/src/runtime/tls_arm64.s

This has an additional consequence that NeedSyntax without specifying NeedFiles tries to parse the .s files as Go source, and then produces invalid ASTs that fail type checking.


Add Marathon UI to the official Docs

This fixes https://github.com/mesosphere/marathon/issues/2816
This PR adds a Marathon UI section to the docs, and for the moment concentrates on describing how the various application Statuses are determined.
The new page looks like this:

Additionally, it does the following extras:

links all mentions of "Marathon UI" to the new page
adds a GitHub section to the Support page
removes a mention of a missing UI feature from one of the tutorials

Hope this helps making things clearer!

Hey @pierlo-upitup thanks for this addition!
I added some comments, to more clearly describe the state. What do you think?
Additionally: this page is called MarathonUI, but you mostly write about states.
Perhaps we should make the UI a complete section (like Reference, Development...) and have the different topics there?

Thanks for the feedback @aquamatthias. I have incorporated mostly all your comments.
Regarding your suggestion, I think it will make more sense to create a dedicated Marathon UI section once we have more material. For the moment, I think it makes sense to keep it simple.

Here's how the page looks like after integrating the feedback:

LGTM! Thanks.

@pierlo-upitup Good to see this and +1 @aquamatthias, will be good to see this build out over time to help clarify things.


Formatting issue with @section in Razor Pages

Describe the bug:
When formatting a Razor .cshtml page that uses @section, the code immediately following it gets indented incorrectly.
Version used:
VS2022 17.2.6
To reproduce:
Steps to reproduce the behavior:

Start Visual Studio and create a new project.
Select ASP.NET Core Web App (the one that uses Razor pages) and follow the steps to create a new project.
Open Pages/Index.cshtml and make the following change:

 @page
 @model IndexModel
 @{
     ViewData["Title"] = "Home page";
 }
+@section Styles {
+    <link rel="stylesheet" href="~/css/site.css" />
+}

Welcome

Learn about building Web apps with ASP.NET Core.

Go to Edit, Advanced and select Format Document.

Expected behavior:
I expect the resulting formatted document to look as follows:
@page
@model IndexModel
@{
    ViewData["Title"] = "Home page";
}
@section Styles {
    <link rel="stylesheet" href="~/css/site.css" />
}

Welcome

Learn about building Web apps with ASP.NET Core.

Actual behavior:
The code immediately following the added @section gets indented, presumably as if it were still part of the HTML inside the Styles section.
@page
@model IndexModel
@{
    ViewData["Title"] = "Home page";
}
@section Styles {
    <link rel="stylesheet" href="~/css/site.css" />
}

Welcome

Learn about building Web apps with ASP.NET Core.

Note that if you move the added section up, immediately after the line that starts with @model, the @{ line gets indented instead when you format the document:
@section Styles {
    <link rel="stylesheet" href="~/css/site.css" />
}
    @{
    ViewData["Title"] = "Home page";
}

Additional context:
The issue does not occur with the legacy Razor editor (Options, Text Editor, HTML, Advanced).

Assigning to David to find the already completed issue for this.

Thank you for the report @Vivelin, this was actually fixed a couple of weeks ago in https://github.com/dotnet/razor-tooling/pull/6531


Allowing python 3 usage

fixes #725
The installation script only allowed python2 and not python3 but this simple change allows both versions for installation.
Works for both python2 and python3:

Warn Checklist

[ ] This changes the interface and requires a Major/Minor version change.
[ ] I have :tophat:'d these changes by using the commands I changed by hand.
[ ] I have added a dependancy to the project.
[ ] I have considered any potential impact on node-themekit

Is it worth trying to test the installation script as part of CI?


Poor find file performance with icons

Problems summary
When running <leader>+f+f (find file) on a folder with a fair amount of files (in my case 38.000) I experience a big delay (9s) until the floating window appears. Problem is that dev icons are collected upfront for all files. The delay is also several seconds on less files - e.g. 9.000 which I often have in the environment I work.

Environment Information

OS: Manjaro

neovim :version output:

NVIM v0.4.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototyp
es -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATI
ONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.4.3/src -I/usr/include -I/build/ne
ovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser

Features: +acl +iconv +tui

:checkhealth or :CheckHealth result(neovim only):

health#coc#check
========================================================================
  - OK: Environment check passed

  - OK: Javascript bundle found
  - OK: Service started

health#nvim#check
========================================================================
## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: Release

## Remote Plugins
  - OK: Up to date

## terminal
  - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
  - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
  - INFO: $VTE_VERSION='5803'
  - INFO: $COLORTERM='truecolor'

health#provider#check
========================================================================
## Clipboard (optional)
  - OK: Clipboard tool found: xclip

## Python 2 provider (optional)
  - INFO: `g:python_host_prog` is not set.  Searching for python2 in the environment.
  - INFO: Multiple python2 executables found.  Set `g:python_host_prog` to avoid surprises.
  - INFO: Executable: /usr/sbin/python2
  - INFO: Other python executable: /usr/bin/python2
  - INFO: Other python executable: /sbin/python2
  - INFO: Other python executable: /bin/python2
  - INFO: Python version: 2.7.17
  - INFO: pynvim version: 0.4.0 (outdated; from /usr/lib/python2.7/site-packages/neovim)
  - WARNING: Latest pynvim is NOT installed: 0.4.1

## Python 3 provider (optional)
  - INFO: `g:python3_host_prog` is not set.  Searching for python3 in the environment.
  - INFO: Multiple python3 executables found.  Set `g:python3_host_prog` to avoid surprises.
  - INFO: Executable: /usr/sbin/python3
  - INFO: Other python executable: /usr/bin/python3
  - INFO: Other python executable: /sbin/python3
  - INFO: Other python executable: /bin/python3
  - INFO: Python version: 3.8.1
  - INFO: pynvim version: 0.4.1
  - OK: Latest pynvim is installed.

## Ruby provider (optional)
  - WARNING: `ruby` and `gem` must be in $PATH.
    - ADVICE:
      - Install Ruby and verify that `ruby` and `gem` commands work.

## Node.js provider (optional)
  - INFO: Node.js: v13.7.0
  - INFO: Neovim node.js host: /usr/lib/node_modules/neovim/bin/cli.js
  - WARNING: Package "neovim" is out-of-date. Installed: 4.5.0, latest: 4.8.0
    - ADVICE:
      - Run in shell: npm install -g neovim
      - Run in shell (if you use yarn): yarn global add neovim

How to reproduce the problem from neovim startup (Required!)

cd into a directory with a lot files
type <leader>+f+f (space+f+f)
observe the delay until the floating window appears

Screenshot (if possible)

profile.log

Please install bat

The message tells [bat error]: './Riot/SingletonLock: No and on the left side I see 'No such file or directory', so it looks like this is a condition in which fzf finds the file but it gets deleted in the time span of the command run.
If bat wouldn't be installed, I'd get zsh:1: command not found: bat.
I think you don't see the issue because you're running the command on 441 files which is much less. Just did a couple of sketchy tests on my current machine:

file count
delay

400
instant

2600
1s

10800
2s

31000
5s

44000
7s

75000
13s

So it comes down to the project size. When I run the following on a command line
marco@tux01 $ time rg --files | wc
  43142   45758 5760746
rg --files  0.62s user 0.43s system 492% cpu 0.213 total
wc  0.08s user 0.00s system 40% cpu 0.213 total

it shows that searching for 43000 files takes just 0.2 seconds.

Did you set rg ignore file?

closed.

Here is a patch that comments out the icon fetching code.
diff --git layers/+completion/fzf/config.vim layers/+completion/fzf/config.vim
index 304df5d..6f9b7cb 100644
--- layers/+completion/fzf/config.vim
+++ layers/+completion/fzf/config.vim
@@ -74,8 +74,8 @@ let l:fzf_files_options = ' -m --bind ctrl-d:preview-page-down,ctrl-u:preview-pa
     let result = []
     for candidate in a:candidates
       let filename = fnamemodify(candidate, ':p:t')
-      let icon = WebDevIconsGetFileTypeSymbol(filename, isdirectory(filename))
-      call add(result, printf("%s %s", icon, candidate))
+      " let icon = WebDevIconsGetFileTypeSymbol(filename, isdirectory(filename))
+      call add(result, printf("%s", candidate))
     endfor

     return result

This reduces the <leader>+f+f load time of 42k files by a factor of 10 which is completely acceptable for me.
I totally see that this issue might only affect big projects. I see the following solutions:

introduce a configuration parameter to deactivate the icon loading for the screen
adapt the implementation to stop loading icons if the list of files is bigger than x elements (maybe also configurable because it depends on the machine performance)

I'd appreciate the second solution. If I run <leader>+f+f on my home directory (400k files) accidentally I commonly have to hard kill the nvim process because I can't wait for minutes.
Do you see room for improvement?

the latest version of thinkvim , used the fzf-preview.vim instead of my hack function.  this setting of fzf-preview.vim is disabled on thinkvim
 Use vim-devicons
let g:fzf_preview_use_dev_icons = 0

Regarding judging the number of files by opening the icon and getting the returned number of rg can do this, I will study if there is time to implement it.

@ubmarco This is a comparison of speed, fzf and coclist files, you can see that coclist is faster. But the display effect is not as comfortable as fzf.

Thanks for that feedback. The new fzf-preview.vim solution has a great performance. Also activating the dev icons works (if needed on project basis). However I get an error on every interaction (ESC / select) with the preview window.:
-- TERMINAL --
Close "term://.//7785:cat '/tmp/nvim0PUsUl/3'|'/home/marco/.cache/vim/dein/repos/github.com/junegunn/fzf/bin/fzf' --multi --reverse --ansi
--bind=ctrl-d:preview-page-down,ctrl-u:preview-page-up,?:toggle-preview   --expect=ctrl-v,ctrl-x,ctrl-q,ctrl-t --prompt="DirectoryFiles> "
--preview='[[ "$(file --mime {})" =~ binary ]] && echo "{} is a binary file" || head -100 {-1}'  --no-height > /tmp/nvim0PUsUl/2;#FZF"?
[Y]es, (N)o, (C)ancel:

@ubmarco  maybe some error on fzf. i am not fzf pro.please ask this question on fzf. because i cant reproduce it .works fine for me.


Provide link to the docs listing the iso data formats

No one knows the iso formats off their head. Made it a nice link to the date time styles on the cast and convert page

@simonsabin : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jaszymas Could you review the proposed change? If the PR is approved, the PR review team can remove the en-us locale from the docs.microsoft.com URL before merging the PR. Thanks.

Hi @simonsabin! Thank you so much! I'll approve this PR.
#sign-off

@VanMSFT: I'm sorry - only the author of this article, @jaszymas, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Thanks @VanMSFT


Setup

Hello,
I cannot find any other way to contact you so I'm contacting you here. Please could you assist me with setting up the bot on a vps? What is the bes VPS to buy?
Thanks.

Hey, did you manage to get something working? :)

Sadly not, I'm not very good with VPS yet. :(

It's not hard to learn tbh. @choccat

Hey @choccat - if you're still having issues, please email me at the address in my profile and I may be able to help some w/ setup or at least point you in the right direction.


Alter Venue table to segregate rooms based on Venue.

Alter Venue table to segregate rooms based on Venue.

As part of our roadmap we are working on a new .NET and React site to replace the existing Ruby and Pakyow site. As part of this transition, this enhancement has been removed from our roadmap.


Created npesnam.txt

Simply Created npesnam.txt for email npesnam domain for Namibia, Africa.

@marcquesmouton Regrettably, Npesnam is neither a university, nor a college, according to the website: https://npesnam.com/who_we_are.htm. This is why I have to close this request without merging. This repository lists email domains of colleges and universities only. Thank you for the understanding.


Error: Protocol error (Runtime.callFunctionOn): Target closed.

Environment:

Puppeteer version: 1.11.0
Platform / OS version: Mac OS High Sierra
Node.js version: 11.3.0

What steps will reproduce the problem?
I followed a youtube tutorial to generate PDF tables using puppeteer.
I have a simple js file with a template from handlebars and I used puppeteer to create a invoice pdf
I am able to stress test it for a data of around 100000 but I when I try 200000 I get
Error: Protocol error (Runtime.callFunctionOn): Target closed.
With the below code, run node App.js
JS Code: App.js
const puppeteer = require('puppeteer');
const fs = require('fs-extra');
const hbs = require('handlebars');
const path = require('path');
const data = require('./stressData2.json');

const compile = async function(templateName, data){
    const filePath = await path.join(process.cwd(), 'templates', `${templateName}.hbs`);
    const html = await fs.readFile(filePath, 'utf-8');
    return await hbs.compile(html)(data);
};

(async function(){
    try{
        const browser = await puppeteer.launch({
            args: ['--shm-size=1gb']
          });
        const page = await browser.newPage();
        const content = await compile('statementStressTemplate', data);

        await page.setContent(content);
       // let bodyHTML = await page.evaluate(() => document.body.innerHTML);
        //console.log(bodyHTML);
        await page.pdf({
            path: 'pdfs/mypdf.pdf',
            format: 'A4',
            printBackground: true
        });

        console.log('done');

        await browser.close();
        await process.exit();
    } catch(e){
        console.log('Our Error', e);
    }
})();

statementStressTemplate.hbs

Statement

                Name
                Age
                Sex
                Salary
                DOB
                Address
                City
                State
                Country
                Zipcode

                Invoice
                Balance
                Purchase Date
                Item
                Description
                Price
                Validity
                Owner
                User
                Renew

            {{#each statements as |statement|}}

                {{statement.name}}
                {{statement.age}}
                {{statement.sex}}
                {{statement.salary}}
                {{statement.dob}}
                {{statement.address}}
                {{statement.city}}
                {{statement.state}}
                {{statement.country}}
                {{statement.zipcode}}
                {{statement.invoice}}
                {{statement.balance}}
                {{statement.purchaseDate}}
                {{statement.item}}
                {{statement.description}}
                {{statement.price}}
                {{statement.validity}}
                {{statement.owner}}
                {{statement.user}}
                {{statement.renew}}

            {{/each}}

FYI, if people want to work on my code I have attach a simple JSON struct with one item, can do a loop to make this n-numbers
stressData2.json
{"statements":[{"name":"Cater","age":30,"sex":"Male","salary":5000,"dob":"1989-09-05","address":"address","city":"Dallas","state":"Texas","country":"USA","zipcode":75201,"invoice":"3435455","balance":90000,"purchaseDate":"2015-05-09","item":67789,"description":"customers","price":5000,"validity":"2020-05-17","owner":"xyz","user":"ghh","renew":"2025-07-15"}]}
What is the expected result?
Expected result is a nicely formatted table inside pdf.
What happens instead?
{ Error: Protocol error (Runtime.callFunctionOn): Target closed.
    at Promise (/Users/gdeivasigamani/node_modules/puppeteer/lib/Connection.js:186:56)
    at new Promise (<anonymous>)
    at CDPSession.send (/Users/gdeivasigamani/node_modules/puppeteer/lib/Connection.js:185:12)
    at ExecutionContext.evaluateHandle (/Users/gdeivasigamani/node_modules/puppeteer/lib/ExecutionContext.js:115:75)
    at ExecutionContext.<anonymous> (/Users/gdeivasigamani/node_modules/puppeteer/lib/helper.js:145:23)
    at ExecutionContext.evaluate (/Users/gdeivasigamani/node_modules/puppeteer/lib/ExecutionContext.js:58:31)
    at ExecutionContext.<anonymous> (/Users/gdeivasigamani/node_modules/puppeteer/lib/helper.js:145:23)
    at Frame.evaluate (/Users/gdeivasigamani/node_modules/puppeteer/lib/FrameManager.js:447:20)
  -- ASYNC --
    at Frame.<anonymous> (/Users/gdeivasigamani/node_modules/puppeteer/lib/helper.js:144:27)
    at Frame.setContent (/Users/gdeivasigamani/node_modules/puppeteer/lib/FrameManager.js:541:16)
    at Frame.<anonymous> (/Users/gdeivasigamani/node_modules/puppeteer/lib/helper.js:145:23)
    at Page.setContent (/Users/gdeivasigamani/node_modules/puppeteer/lib/Page.js:615:42)
    at Page.<anonymous> (/Users/gdeivasigamani/node_modules/puppeteer/lib/helper.js:145:23)
    at /Users/gdeivasigamani/git/NodeJsServer/serverPdfGenerator.js:21:20
  message: 'Protocol error (Runtime.callFunctionOn): Target closed.'
}

I tried the solutions suggested in other related issues raised in this repo https://github.com/GoogleChrome/puppeteer/issues/1175
. But it didnt help me resolve the above
Stackoverflow post for the same: https://stackoverflow.com/questions/53801543/puppeteer-protocol-error-runtime-callfunctionon-target-closed

It happens on the below line
await page.setContent(content);
When the content size is large, I think the above error is thrown, is there any way to increase the Page or browse memory or anyother trick to overcome this error?

@nonyy Do you know what flags i should set and how to send them in puppeteer.
Since I checked the flags and I couldnt get any useful information

Fyi, I think this may be related to https://github.com/GoogleChrome/puppeteer/issues/4543, page.evaluate() runs into the same issues as page.content() from my quick testing.


Modal service Only shows when Full jQuery is included

Hello,
I use this code to show my modal service:
$scope.setEditModel = function (index) {
ModalService.showModal({
templateUrl: "/Views/_Modals/productEdit.html",
controller: "productEditController",
inputs: { scope: $scope, productIDScope: $scope.products[index].Id }
}).then(function (modal) {
// The modal object has the element built, if this is a bootstrap modal
// you can call 'modal' to show it, if it's a custom modal just show or hide
// it as you need to.
modal.element.modal();
modal.close.then(function (result) {
//$scope.message = result ? "You said Yes" : "You said No";
$scope.getProducts();
});
});
};
But it requires that Bootstrap.js script tag is included in the project.
Because including Bootstrap.js requires full jquery that is about +100KB I want to know is there a way that Modal service only uses jQuery Lite that included with Angularjs itself?

you can use minified version of jquery.

So, isn't there any solution to prevent including Both jQuery and Bootstrap along with angular modal service?

@mg1357 if you use the custom template in sampleapp.js

@dwmkerr I think the dependency on jQuery may be completely removed simply by fixing this line:
https://github.com/dwmkerr/angular-modal-service/blob/master/src/angular-modal-service.js#L17
to read $document[0].body instead of $document.find('body').

This has been resolved in an earlier release (v0.10) I believe


FAhilbert is missing dt in calculating the instantaneous frequencies

Hi I found a mistake in your hht.py Function Line 134.
The function is requesting dt but dt is actually never used in the function. This leads to a wrong calculated instanteneous frequency.
Line 146 should account for dt or 1/Frequency similar to the matlab version of your script:
https://www.mathworks.com/matlabcentral/fileexchange/19681-hilbert-huang-transform

Hi I found a mistake in your hht.py Function Line 134. The function is requesting dt but dt is actually never used in the function. This leads to a wrong calculated instanteneous frequency. Line 146 should account for dt or 1/Frequency similar to the matlab version of your script: https://www.mathworks.com/matlabcentral/fileexchange/19681-hilbert-huang-transform

@bschumac Sorry to bother you, but I want to know if you have solved this mistake?


Created operations:

Shape
StridedSlice - new_axis_mask and ellipsis_mask not supported, input tensor dim length -1 not handled
Pack - axis 0 supported only
Softmax - flatten input tensor supported only
non quantized version of Conv2D, Relu and MatMul

Hello @mbartling @neil-tan, the docs references are here:
Shape: https://www.tensorflow.org/api_docs/python/tf/shape
StridedSlice: https://www.tensorflow.org/api_docs/python/tf/strided_slice, tensorflow::ops::StridedSlice
Pack(It was renamed to stack but in grph it remain Pack): https://www.tensorflow.org/api_docs/python/tf/stack
Softmax: https://www.tensorflow.org/api_docs/python/tf/nn/softmax
Implementation refferences:
StridedSlice: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/array_ops.cc,
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/util/strided_slice_op.cc
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/util/strided_slice_op.h
I have already provided the model on the slack, I will upload it again under the pull request comment :-)


Request Option to Disable strikethrough style on deleted code

What's the issue:

Strikethrough style on deleted code is hard to read.  Any way to disable this style?
Steps to reproduce:

View code chances
Screenshots:

Solutions:

Add an option to disable this style.  Couldn't find it in CSS
What version is affected by this problem:

GitHub Dark v2.5.0

Thanks for the support! I'll improvement the code diff style in the next update.


creating ddl for DB2 always quotes the schema.

Search first

[X] I searched and no similar issues were found

Description
When I have XML createTable that adds a schemaName the name is always quoted in the generated or executed migration.
This causes problems with a legacy system that uses Hibernate and quoting the schema was never required.
I thought this may be something to do with SpringLiquibase. When I create a separate project that only has the changelog and use it to create offline files the output always quotes the schema name regardless of objectQuotingStrategy setting in each of the XML files.
Steps To Reproduce
Create a simple changeSet with a table that is assigned a schemaName.
Create a spring boot jpa application that has one entity declaring the same table name and fields.
Add the property: spring.jpa.hibernate.ddl-auto=validate to see how Hibernate fails to validate the schema. When using H2 or MS SQL Server the names are not quoted.
Expected/Desired Behavior
I have not found a fix other than having a separate changeSet with dbms=db2 that has plain SQL statements to create the tables and constraints.
Liquibase Version
4.9.1
Database Vendor & Version
DB2/LUW <IP_ADDRESS>
Liquibase Integration
gradle, spring
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
Ubuntu
Additional Context
I have tried to provide my own class that overrides DB2Database but it doesn't seem to be invoked. The name appears in the log as the value of liquibase.databaseClass but the log entries in the class is never invoked.
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

Hello @corneil, I've tested this issue, and though it's replicable, it seems to be fixed from Liquibase v4.11.0 onwards. Would you be able to update to any newer version and re-test this?
Let me know how it goes.
Thank you
Tatiana

Hi @corneil, just checking in on this. Were you able to update the Liquibase version you're using?


AggregateFunctions: implemented topK(n)

Hi,
I took a stab at implementing #294 and would appreciate some help finishing this.
So this implements a new function for approximate computation of the most frequent entries using
Filtered Space Saving with a merge step adapted from Parallel Space Saving paper.
It works better for cases where GROUP BY x is impractical due to high cardinality of x, such as top IP addresses or top search queries, the example can be seen in the added test. For low cardinality sets it's about half the speed of uniq() as it has to do more work inherently (and the implementation could be better).
Now the questions:

[ ] I'm not sure about is lifetime of StringRefs in the generic variant of the aggregation function, it's inserted into arena for compound keys so I assume that's bad as it will grow infinitely?
[ ] Currently it uses extra vector for storing alpha, it'd be better to reuse the array backing the hashtable but HashTable is not addressable by slot number, would it be okay to add it?
[ ] The 3ef8882 fixes #633, is it okay to backport it to make newer distros happy?

Can one of the admins verify this patch?

Thank you for implementing this feature! It will be very useful for our cases too.
I just started with this pull request...
Answers:
You understand correctly: Arena only grows, and individual values cannot be removed to save space. When values in SpaceSaving replace each other, memory allocated for previous values will be wasted in Arena. We have ArenaWithFreeLists to allow reclaiming memory, but aggregation is using plain Arenas to store aggregation states and to allow allocation of additional memory.
Possible workarounds:

Allocate memory not in Arena, but using usual new/delete or malloc/free; it has following drawbacks: 1. More difficult to account memory usage with MemoryTracker (you need to call it explicitly). 2. Memory overhead from allocator (usually, allocated memory is rounded up to some size class). 3. Less efficient memory allocation (high CPU cost of many of small allocations and deallocations).

Nevertheless, you already allocate additional memory out of Arena, as HashMap in SpaceSaving do so.
Also please note, that HashMap by default preallocate quite a big chunk of memory, and for typical case of many small aggregation states, you should replace Grower template parameter. For examples, see usage of HashSet in uniqExact or groupUniqArray aggregate function.

Slightly rewrite aggregation code to use ArenaWithFreeLists instead of Arena and pass ArenaWithFreeLists inside IAggregateFunction methods. The main challenge is to do in with zero-cost, when memory reclamation is not used. This seems possible.

I have merged this PR, because it is almost Ok right now, and it will be more convenient for further development.

I just have read the article and started testing...
Currently, memory usage for this function is not bounded, because elements never deleted from hash table. For example, we have 1 GiB memory usage for query:
SELECT topK(number) FROM system.numbers

after processed 100 million of rows.
I will look further, what we will do...

I think the first problem is that hash table size is not decremented when the cell is zeroed, so it keeps growing. I'll redo it to move elements instead of removing and inserting.


Vscode plugin used in remote connection

Hi,
I am new to using the protein viewer plugin in the vscode. I think it would be cool if I could use it on remote-connected Windows so that I don't need to download it to my local host. However, when I start the protein viewer and use the open files, the file system still shows my local file systems. Are there any methods to fix this?
I also tried to use the command "Launch Protein Viewer from File(s)" and threw the error:
<Cannot read properties of undefined (reading 'map')>
Thanks

Hi @zhenyuwei99
I agree. I'll take a look but I'm not sure how easy it will be to give the viewer access to the remote file system.
For the command: that command should only be used when right-clicking on a file in the file tree. The command to use from the command panel is: Start Protein Viewer.

Great!  Thank you for your replay.
Right-clicking the file and starting the protein viewer can make me access the PDB file in the remote window. It looks very nice. But it still cannot open other files like load psf files after opening the pdb file.

Right-clicking the file and starting the protein viewer can make me access the PDB file in the remote window. It looks very nice.

Great, I'm glad :D

But it still cannot open other files like load psf files after opening the pdb file.

Ah, yes. I think I need to update the file extensions that trigger the extension. One workaround though is if you have the desired files on your local machine you should be able to load/open them from within the viewer itself.

One workaround though is if you have the desired files on your local machine you should be able to load/open them from within the viewer itself.

Ofc, I can do that on my local machine. But I think it will be very cool to check the correctness of the simulation on the remote device directly without downloading the file, which may be wrong on the local machine. I think that will make this extension super convenient, which can not be done for any other software. It likes to provide a GUI for the remote devices in VSCode. I think updating the file extension might be a partial solution as, most of the time, we hope to read the PSF and DCD files simultaneously as the DCD file does not have the topology information. From the right-click manner, I can only open one file at one time, and it is impossible to load other files after launching the protein viewer as the file system is still looking at the device on my local machine. I think if it is possible to let us load the file on the remote device, the extension will be perfect!

Ofc, I can do that on my local machine. But I think it will be very cool to check the correctness of the simulation on the remote device directly without downloading the file, which may be wrong on the local machine. I think that will make this extension super convenient, which can not be done for any other software.

I agree this would be a nice feature. The issue is I'm not exactly sure how to go about doing it as the extension is running locally. Might I suggest trying something like sshfs to mount the local remote filesystem? I'm not 100% sure if it will work but I think it's the easiest thing to try first.

From the right-click manner, I can only open one file at one time, and it is impossible to load other files after launching the protein viewer as the file system is still looking at the device on my local machine

Is this due to the file extsnsion? You should, for example, be able to select multiple PDB files (Shift/Cmd + click to select) and open them all at once.

Might I suggest trying something like sshfs to mount the local remote filesystem?

Maybe? I am not so sure. When I use the remote SSH in vscode to connect the remote host, the file system will be like the path shown in the command plate. Since the

You should, for example, be able to select multiple PDB files (Shift/Cmd + click to select) and open them all at once.

If I can do this,  updating the file extension can solve my questions since I can choose the .dcd file and .psf file to launch the Protein Viewer. But it just cannot load other information after launching the protein viewer. Anyway, this will be one of the solutions.

Ok, I'll try a few things and see what I come up with. Could you share some example files I can use for prototyping?

Ofc, a Google Drive link with a .psf file and a .dcd file is here.
By the way, I noticed that in Mol*, many file format is supported. Could all the file formats supported by Mol* be supported in this plugin?


[cli] "rancher run" missing/can't add service links when adding new service to existing stack

Rancher versions:
rancher/server: v1.6.9
rancher/agent: rancher/agent:v1.2.6
Infrastructure Stack versions:
healthcheck: rancher/healthcheck:v0.3.3
ipsec: rancher/net:holder rancher/net:v0.11.9
network-services: rancher/network-manager:v0.7.8 rancher/metadata:v0.9.4
scheduler: rancher/scheduler:v0.8.2
kubernetes (if applicable):
Rancher CLI:
rancher-v0.6.4
Docker version: (docker version,docker info preferred)
Client:
Version:      17.06.2-ce
API version:  1.30
Go version:   go1.8.3
Git commit:   cec0b72
Built:        Tue Sep  5 20:00:17 2017
OS/Arch:      linux/amd64
Server:
Version:      17.06.2-ce
API version:  1.30 (minimum version 1.12)
Go version:   go1.8.3
Git commit:   cec0b72
Built:        Tue Sep  5 19:59:11 2017
OS/Arch:      linux/amd64
Experimental: false
Containers: 28
Running: 25
Paused: 0
Stopped: 3
Images: 31
Server Version: 17.06.2-ce
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 305
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local rancher-nfs
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 6e23458c129b551d5c9871e5174f6b1b7f6d1170
runc version: 810190ceaa507aa2727d7ae6f4790c76ec150bd2
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-87-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 7.753GiB
Name: ubuntu-rancher-dell-01
ID: JD6E:EKNQ:HVJH:AMBZ:CGY3:XPNP:WWYY:4JPC:3576:7M6C:YNWH:3O7Y
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
4.4.0-87-generic
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
1x Bare-metal
3x VirtualBox (on MacOS)
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Container (non-HA)- Bind mounted MySQL volume
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Rancher-CLI (MacOS)
./rancher run some/image --name my-existing-stack/new-service-name --service-link some-stack/some-db:mongodb
Results:
new service gets added to stack, but have to manually add ServiceLink.
There should be a way to add a service-link programmatically when creating new services and adding those to an existing system.
Only way I see to do this right now is creating a new Service, with both my api and (a new) database. There is no way to re-use the existing database in the stack (or another stack).

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Sidebar li with class="sidenav-section" -> text-select issue in landingpage

Describe the bug
The navbar has li with class="sidenav-section" can be user-seleted resulting in the section-texts does not transform into a dot as expected when moving mouse focus away.
To Reproduce
Select (mark) one of the section-texts (Training, Community, About) in the left sidebar of landing page, then move mouse away from it.
Expected behavior
The section-text is expected to be transformed into a text-less dot.
Screenshots
Browser
Chromium

OS: Ubuntu
Browser Chromium
Version [e.g. 22]

Additional context
Super-tiny but, still! :D

This may be due to the :focus or :selected state on the .sidenav-section elements. When these elements are selected (highlighted), they might retain the text display style even after the mouse moves away, preventing the text from transforming back into a dot.

The solution is just to make the "sidenav-section" have css-styling user-select: none.


[Docs] [Spec decode] Fix docs error in code example

Warning, treated as error:
[2024-06-11T01:15:20Z] /vllm-workspace/test_docs/docs/source/models/spec_decode.rst:19:Error in "code-block" directive:
[2024-06-11T01:15:20Z] maximum 1 argument(s) allowed, 6 supplied.

This should be good for force-merge @simon-mo
https://vllm--5427.org.readthedocs.build/en/5427/models/spec_decode.html


Transfer Coin Issue

Everything's working fine except transfer api it doesnot validate or anything always return status:200
I dont have enough coin to transfer but also it can send request to transfer api ... but actually transaction never happened

 axios
        .post("https://libraservice2.kulap.io/transfer",{
            "fromAddress": source, // 0da045bec135aaaf280c16afd9671162f6c6809a9593b7b6e7be1175f7bbba06
            "mnemonic": "lorem ipsum",
            "toAddress": destination, // 7d7041e1c6635cb8bf55b1f064487553046af9dc2079813d2a5c741a9ad5a875
            "amount": amount // 20000000
        })
        .then(response => {
            if(response.status == 200){
                console.log('Transfer Success');
            }
            console.log('response ==> ',response)
        })
        .catch(err => {
            console.log(err);
            return null;
        });

Thank for reporting, yeah that's a bug, we need to fix it, If you've a chance please feel free to PR.

@deshario Fixed with 1ab2d2ec8e1f571dacba8ca6ee8664d446236cc5.


HTTP with query parameters not rendering properly

This is some Markdown:
```http
GET /records/KIN/entries/ HTTP/1.1
Host: local-authority-eng.register.gov.uk
Accept: application/json
Authorization: YOUR-API-KEY-HERE

Below the bullet point in the image below (as an example) is how it should render, and it does for most of the content:

... except for similar content which has query parameters (I am assuming this is what's causing the issue), e.g.:

... which has this Markdown:
```http
GET /records/local-authority-type/CTY/?page-index=1&page-size=3 HTTP/1.1
Host: local-authority-eng.register.gov.uk
Accept: application/json
Authorization: YOUR-API-KEY-HERE

You can see this live at https://docs.registers.service.gov.uk/
Repo is https://github.com/alphagov/registers-tech-docs

This doesn't seem to be happening anymore: https://docs.registers.service.gov.uk/api_reference/get_records/#get-records
Perhaps a dependency update fixed this issue. Feel free to reopen if it's still an issue somewhere!


Qt4 is deprecated / EOL, Qt5 doesn't core WebKit anymore

An aync replacement is Qt WebEngine.

I made a PullRequest adressing the Issue, but I somehow broke the Signal API - now it opens all Links in PyFladesk.

Thanks @MaximilianKindshofer , I'll check it. But it seems web have a problem in opening external links in outside of app.

Oh, yes I dind't got the Signals right

I solve this issue in my PR (#4 ), it also solves #3


Our base image should be based on codercom/code-server

Stuff like locales and sudo is already set up there, we shouldn't duplicate it.

Going to close as it has been a while and I'm not sure if this is relevant anymore.


fix(mempool): validator errors were ignored in mempool/rsc/lib.rs

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

Bugfix

What is the current behavior?

All validator errors were being ignore in crates/client/mempool/src/lib.rs after #263.
Resolves: #NA
What is the new behavior?

Mempool validator errors have been re-enabled

perhaps it would be great if you add a test so that it cannot happen again in the future - wdyt @Trantorian1?


Theme for WebUI

Is it possible to adapt this theme for WebUI?
The theme is very good. But lately I have been using qBittorrent on my server via web browser. The WebUI supports alternative themes, but they must be in a different format.

Hi, sorry for the late reply. Also thanks for your interest in using this theme.
Regarding your request I made the WebUI theme for dracula, you can check it out on the official repo, or you can chech the documentation in the INSTALL.md file in this repository to see how you can install it.
Preview for the WebUI theme:

Kind Regards, Mahdi

It doesn't work in the WebUI qBittorrent v4.5.2 Web UI (64-bit)
The font becomes all like hieroglyphics. It is imposible to read anything


Configurable transport (#249)

This centralizes the creation of HTTP clients throughout the codebase, for everything except the AWS Cloud Provider (it has some http2 stuff in there that I don't have a good way to test in a real environment, so I'm hesitant to touch it).
It's a pretty big change, but broken in to isolated commits, all of which should be standalone.
This closes #249, and will lead to stream support.

I'll park this until #259 is merged, it'll make it a bit cleaner with the change log.

Needs another stamp after merging master.

Failed build is #251, I guess Travis doesn't have my new email, so it didn't notify me.

cc @MovieStoreGuy

@aelse you good with all this?


Only nested directories when resources don't match a filter

Currently when resources are only included as a result of a Matcher and do not match the filter, that resource is included in the same way as resources that matched the filter. For example, with the filter job default/some-job the Pod some-job-xxxx would be included since it would be owned by the Job some-job creating a file structure like this:
kubedump.dump
├── kubedump.logs
└── default
    ├── job
     │  ├── some-job
     │  ├── pod
     │  │   └── some-pod -> ../pod/some-pod
     │  └── ...
     └── pod
         ├──  some-pod
         └── ...

Ideally, we'd end up with a file structure like this:
kubedump.dump
├── kubedump.logs
└── default
    └── job
        ├── some-job
        ├── pod
        │   ├── some-pod
        │   └── ...
        └── ...

I think the second structure is a lot cleaner, and more clear about what was gathered and how it relates to the other resources without clogging up the filesystem.
If the resource matches both the filter and a Matcher we should use the current system of a directory and a symlink.

It might even be a good idea to make this the default behavior for resources that match a Matcher.

We wouldn't have to deal with symlink messiness
As above it makes the relationship between resources more clear
Less things to test for


don't use buildHtml macro in app.routes

Minimal ex:
app.routes:
  "/":
    "Hello, world"

You can use this:
app.routes:
  "/":
    echo "You can use Nim"
    someFunc()
    ...
    buildHtml:
      "HTML here"
  "/home":
    "HTML here"


Allow to disable APIResponsivenessPrometheusSimple violations

What type of PR is this?
/kind feature

What this PR does / why we need it:
Which issue(s) this PR fixes:

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

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/assign @mborsz

/lgtm

/assign @wojtek-t

/ok-to-test
/lgtm
/approve


After counter down is stopped by sending payload = 0 or false, the count down output continues!

After counter down is stopped by sending payload = 0 or false, the count down continues reporting a payload message over and over, endlessly.  This does not make any sense, if the count down is complete, either termination or completion of count, output should not continue endlessly.

hello dachshund-digital, I can not recreate the behavior you are reporting. Using the flow I pasted in below, once I send "false" the countdown stops and a final msg.payload "0" is output.
[{"id":"f4b5624a.a81a4","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"6cd459d8.3428f8","type":"inject","z":"f4b5624a.a81a4","name":"","topic":"control","payload":"45","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":300,"y":140,"wires":[["b66d4cae.02bea8"]]},{"id":"364c65b3.a27b92","type":"inject","z":"f4b5624a.a81a4","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":240,"wires":[["b66d4cae.02bea8","8a946257.ef2d08"]]},{"id":"d962f5f5.d26048","type":"inject","z":"f4b5624a.a81a4","name":"","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":280,"wires":[["b66d4cae.02bea8"]]},{"id":"8a946257.ef2d08","type":"debug","z":"f4b5624a.a81a4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":700,"y":200,"wires":[]},{"id":"b66d4cae.02bea8","type":"countdown","z":"f4b5624a.a81a4","name":"","topic":"","payloadTimerStart":"payload","payloadTimerStartType":"msg","payloadTimerStop":"","payloadTimerStopType":"nul","timer":30,"resetWhileRunning":false,"setTimeToNewWhileRunning":true,"startCountdownOnControlMessage":false,"x":480,"y":240,"wires":[["8a946257.ef2d08"],["ef6486ba.9fc44"]]},{"id":"ef6486ba.9fc44","type":"debug","z":"f4b5624a.a81a4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":710,"y":260,"wires":[]}]

That is ok, I changed the flow so I don't need the count down node.  When I get a bit of time, I will try to give you example of the issue... if I can recreate it again.  Thanks for looking into my issue/question.  Appreciate it.

I am having a similar "issue": but I think its how its currently supposed to work.
I want to be able to STOP the timer. I.e. have it stop and NOT send out a payload!  The idea is, I only want a payload to be sent if the timer runs out.

NODE-RED 3.0.2 Counter doesnt stop on demand, i have imported your code from this post to be sure, but no reaction on stop.
Start, reset, set time is ok, but i cant stop it at all.

I'm having the same issue.  I can't stop the countdown with either 0 or false.  The example code doesn't work when imported into Node Red (3.0.2) running on Home Assistant (2023.1.7).  Am keen to make use of it if possible.  Thanks,

I also am unable to stop the timer once it has started. I copied in the sample with two different stop buttons and neither of them works to stop it.


Fix bug with downloading SVG  when >1 Flow Cytometry plots

Fixed by automatically downloading all SVG files when > 1 SVG in the supplied element.


Empty collections fixes

Fixes #98

Codecov Report

Merging #102 into taxii2.1-csd03 will decrease coverage by 0.02%.
The diff coverage is 100%.

@@                Coverage Diff                 @@
##           taxii2.1-csd03     #102      +/-   ##
==================================================
- Coverage           91.61%   91.59%   -0.03%
==================================================
  Files                  22       22
  Lines                2481     2451      -30
==================================================
- Hits                 2273     2245      -28
+ Misses                208      206       -2

Impacted Files
Coverage Δ

medallion/views/manifest.py
100% <100%> (ø)
:arrow_up:

medallion/views/objects.py
89.62% <100%> (+0.43%)
:arrow_up:

medallion/test/test_mongodb_backend.py
97.56% <100%> (-0.01%)
:arrow_down:

medallion/test/test_memory_backend.py
99.76% <100%> (ø)
:arrow_up:

medallion/test/test_views.py
66.98% <0%> (-1.77%)
:arrow_down:

medallion/__init__.py
80.23% <0%> (-0.88%)
:arrow_down:

medallion/views/collections.py
95.45% <0%> (-0.38%)
:arrow_down:

medallion/views/discovery.py
96.66% <0%> (-0.31%)
:arrow_down:

medallion/backends/mongodb_backend.py
95.59% <0%> (-0.23%)
:arrow_down:

... and 4 more

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 30a7b44...66125af. Read the comment docs.


Development

dependency update

Codecov Report

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

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   96.29%   96.29%
=======================================
  Files           5        5
  Lines          27       27
=======================================
  Hits           26       26
  Misses          1        1

Flag
Coverage Δ

#unittests
96.29% <ø> (ø)
: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 6604e83...f506c8e. Read the comment docs.


[Question] how to check postmessage events?

page.on("load", lambda: ...) - triggered and works ok
page.on("message", lambda: ...) - isn't triggered at all, despite postmessages sent
any ideas would be appreciated

Playwright has no integrated events for handling postMessage events. But you should be able to leverage exposed functions see here: https://playwright.dev/python/docs/api/class-page#page-expose-function to communicate from inside your page to the Python world. Do you maybe have more context / a small repro? Then its easier to assist.


Seed 2 test users

Closes #175
This PR adds two more users to for seeding in seed.ts according to PR #174 as follow-up.
Test
You can use npm run db:seed to seed, and then use npm run db:studio to see whether the users are created.
They should also be present after setting up a new instance of the project locally, since npm run setup will be used.

Thank you.


update devcontainer base to 23.10

Update the devcontainer base to 23.10 (this has no relation to cudf versioning).
While there are other improvements, the main reason I'm upgrading is due to a newer version of git, which allows inline public key signing of commits - something we need to be able to commit changes while inside the container without having to manage separate container-specific signing keys.
Example of signing key usage (from host, inherited by devcontainer):
ssh-keygen -t ed25519 -C<EMAIL_ADDRESS>git config --global user.signingkey "key::$(cat ~/.ssh/id_ed25519.pub)"
git config --global commit.gpgsign true
git config --global gpg.format ssh
mkdir -p ~/.config/git
git config --global gpg.ssh.allowedSignersFile ~/.config/git/allowed_signers
awk 'BEGIN {FS=" "; OFS=" "} {print $3, $1, $2}' <(ssh-add -L) > ~/.config/git/allowed_signers

/merge


Change overall layout

We need to change the overall layout with the revised timeline (#126).

Done with PR #141.


Add maintainers

https://github.com/conda-forge/pydantic-feedstock/issues/70#issuecomment-1352368204
Will add Adrian if/when he responds - don't want to sign people up for work without their consent

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

conda-forge/pydantic-feedstock#70 (comment)
Will add Adrian if/when he responds - don't want to sign people up for work without their consent
Checklist

[ ]  Used a personal fork of the feedstock to propose changes
[ ]  Bumped the build number (if the version is unchanged)
[ ]  Reset the build number to 0 (if the version changed)
[ ]  Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ]  Ensured the license file is being packaged.


Would this be possible in a framework like Ruby or Rails

Considering that ruby is not statically typed and has meta-programming where it's hard to find the references of a particular flag. Just curious about the possibilities.

It is possible to implement a variant of Piranha for ruby using Parser. As for your question on finding references to a particular flag, it depends on the coding style, the availability of tools to perform alias analysis, etc. If you can share some examples on expected refactorings, I can clarify further.

@Bennet-Sunder This can now be done by adding support for Ruby in polyglot-piranha .

@mkr-plse @ketkarameya just as a heads up I have submitted a draft PR for adding support for ruby. Will clean it up and mark it ready by next week.

Hello, @Bennet-Sunder what's the progress on adding support for ruby?

Let us know since our org would like to integrate with Piranha, pending with that integration

@juamanti it should be merged shortly, you can follow the PR for updates on when it'll be merged. In the meanwhile you can evaluate it using my fork.

Will do!

@juamanti support for ruby is now merged (https://github.com/uber/piranha/pull/649) and it should be available in the next release.

Thank you so much!! cc: @Charan Mahesan @.***>
Best, Juan
On Mon, May 20, 2024 at 2:18 PM Bennet Sunder @.***>
wrote:

@juamanti https://github.com/juamanti support for ruby is now merged (
#649 https://github.com/uber/piranha/pull/649) and it should be
available in the next release.
—
Reply to this email directly, view it on GitHub
https://github.com/uber/piranha/issues/80#issuecomment-2120963727, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXLS7NNAM5OSRAEJSUA6OKTZDI455AVCNFSM4PF5VXX2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJSGA4TMMZXGI3Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


CLOUDP-131259: Add RHEL 9.X & Ubuntu 22.04 support for the CLIs

Proposed changes
Add RHEL 9.X & Ubuntu 22.04 support for the CLIs

Jira ticket: CLOUDP-131259

Closes #[issue number]
Checklist

[ ] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
[ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
[ ] I have updated test/README.md (if an e2e test has been added)
[ ] I have run make fmt and formatted my code

Further comments

Failed post packaging tests are due to no previous version being deployed to repos, in other words these tests will go green after atlascli 1.1.6 is out

found it @andreaangiolillo https://www.mongodb.com/docs/mongocli/stable/install/compatibility/, I'll add to the ticket


Element - Rich Text blocks not available to configure

Motivation
Currently when Creating the Content Type via code, when it comes to the Rich Text, we can't set the blocks within it.
If you look at the options for allowed_blocks, allowed_text_blocks, allowed_formatting etc... https://docs.kontent.ai/reference/management-api-v2#section/Rich-text-element-in-type
If this was available when performing a Create content type, we could get this type ready for the content editors and restricted to how we need them to be, without having to worry about either adding a Modify or going into the UI to make this change (not what we want to do)
Proposed solution
Include these options for us to use in the JS SDK

I was using the Kontent CLI, which had an older version of the Management SDK, so we can close this issue


Missing Menuitems for specific cluster provider

Describe the bug
For the cluster zukcb3.c4.gra.k8s.ovh.net where are missing menu items in the gui. I have access to all areas like deployment, secrets etc
Deployments, DaemonSets, StatefulSets, Endpoints, Ingress and more are missing. I tested with another tool and there i have access to this areas.
I suspect that the provider OVH for this location has a problem with Lens.
To Reproduce
Not possible without rent a cluster there
Expected behavior
Show all Menuitems there i have access to for example "Deployments"
Screenshots
Here the normal view of a provider there works everything fine:

Here my current view for c4.gra.k8s.ovh.net:

Environment (please complete the following information):

Lens Version: 2023.1.110749-latest
OS: Windows 11

Similar to https://github.com/lensapp/lens/issues/6858 but you are using OpenLens 6.2.6.

Same problem here

Happened after updating to latest version of Lens.

@brezuicabogdan-emag What kind of kube cluster are you connecting too?

This has been fixed. Please upgrade to the latest version


Fix memory leak of triple_apply

class batch_triple_apply_visitor needs a virtual destructor,
otherwise, class lambda_triple_apply_visitor which inherits
from it will not be properly cleared, and leaks memory.

Fix https://github.com/dato-code/SFrame/issues/185


I also included a fix for a buggy import from torch-bounds


docs(datetime): remove outdated mention of utc option

Fixes a trivial oversight in the docs that was missed in 4ec7dd4be99049e6721d4bf41b5a4d3ded7770b2 (#5647)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Tensorflow - AttributeError: 'AdasOptimizer' object has no attribute 'lr'

it raise 'AttributeError: 'AdasOptimizer' object has no attribute 'lr'' when i try using ReduceLROnPlateau and run normaly when i stop using it. tried with tensorflow 2.3.1:
'''reduce_lr = ReduceLROnPlateau(monitor='val_loss', factor=0.8,
patience=5, verbose=1, mode='auto', min_delta=0.0001, cooldown=5,
min_lr=0.00001)'''
Thank you for your amazing work.

Unfortunately there is no good way to set the LR dynamically in Adas for the following reasons:

The lr parameter in the constructor is the initial LR of all first-order LRs.
The second-order LRs will raise the first-order LRs if the first-order LRs were lowered manually.
Lowering the first second and third order LRs will just make Adas like Adam without momentum.

Thank you for your sweet words!

I gave this ticket a second thought, Adas supposed to 100% automate LRs, do you wish to use this reduce_lr because Adas isn't doing a good job automating the LR? Think that would worth a ticket on its own.

Adas still work very well without ReduceLROnPlateau so you don't have to notice this. sorry for fotgot close this issue


DNS-over-TLS support

Also adds an example configuration file. Note, that until zerotier-systemd-manager tickles the right bits this won't matter much on Linux, at least. It'll still use the old UDP/TCP setup unless it's configured manually.

if anyone wants to review this please do! I'm going to let it simmer for a bit.


[JS Library] Audio playback has sound issues when using the Browser Audio Worklet API

Firstly thanks for all the hard work and this neat library!
I've been playing around and testing the JS port with the Audio Worklet API. Due to the fact that the Script Processor API used in this project, and many other Audio projects, has been deprecated for some years now.
The good news is that the library works with the Worklet API! As to be expected, there were some audio regressions. I've put this down to the buffer size on each getAudio call is considerably smaller at 128 samples. The Script Processsor fetches a buffer size of usually 4096 samples.
I've put together an example project comparing the two:

https://codesandbox.io/s/micromod-audio-worklet-example-6iyzp3

@martincameron I'm sure it's been a long time since you've been familiar with the code, but does anything come to mind where I should be investigating further with the JS code? Or what method is the likely culprit?

The specs aren't very clear but here's what you have to do...
// One output, 2 channels(stereo)
Player.createNode() {
return new AudioWorkletNode(this.context, PROCESSOR_MODULE_NAME, {
numberOfInputs: 0,
numberOfOutputs: 1,
outputChannelCount: [2]
});
}
ModProcessor.process(_inputs, outputs, _parameters) {
if (
outputs.length !== 1 ||
!this.audioSource ||
!this.module ||
!this.isPlaying
) {
return true;
}
const leftBuf = outputs[0][0];
const rightBuf = outputs[0][1];
const bufferSize = Math.min(leftBuf.length, rightBuf.length);
this.audioSource.getAudio(leftBuf, rightBuf, bufferSize);

return true;

}
Hope this helps,
Cheers,
Martin
On Tue, 26 Jul 2022 at 00:31, Martin Cameron @.***> wrote:

Hi, I don't think it's a problem with the buffer-size or you would hear a
lot of noise. The worklet version seems to be in mono rather than stereo,
and one thing I did notice is that you appear to be passing the first
element of each output array to getAudio() rather than the whole array. The
sandbox didn't work when I tried to test it, but try with output[0] and
output[1] for the left and right channels...
Thanks,
Martin
On Thu, 21 Jul 2022 at 17:29, Jamie @.***> wrote:

Firstly thanks for all the hard work and this neat library!
I've been playing around and testing the JS port with the Audio Worklet
API https://developer.mozilla.org/en-US/docs/Web/API/AudioWorklet. Due
to the fact that the Script Processor API used in this project, and many
other Audio projects, has been deprecated for some years now.
The good news is that the library works with the Worklet API! As to be
expected, there were some audio regressions. I've put this down to the
buffer size on each getAudio call is considerably smaller at 128
samples. The Script Processsor fetches a buffer size of usually 4096
samples.
I've put together an example project comparing the two:

https://codesandbox.io/s/micromod-audio-worklet-example-6iyzp3

@martincameron https://github.com/martincameron I'm sure it's been a
long time since you've been familiar with the code, but does anything come
to mind where I should be investigating further with the JS code? Or what
method is the likely culprit?
—
Reply to this email directly, view it on GitHub
https://github.com/martincameron/micromod/issues/19, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYU5UUI2QHNPZGUGIXKQM3VVF3F3ANCNFSM54IIJVUA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@martincameron many thanks!
Silly me, I was conflating the outputs with channels. That's makes a lot of sense and fixes my issues. Cheers!


PubSub ValueError: Project from client (A) should agree with project from resource(B).

Say that I have 2 projects, A and B.
From project A, I have topics: projects/A/topics/events.
From project B, I add a subscription to above topic, subscription name is: projects/B/subscriptions/on-A-events.
Note: I created the subscription via Graph API Explorer, not via the Cloud Console (just can't do it with Cloud Console)
So, these code will raise an Exception:
  from gcloud import pubsub

  c = pubsub.Client(project='A')
  t = c.topic('events')
  subs = t.list_subscriptions()  # Error

  Traceback (most recent call last):
    File "<input>", line 1, in <module>
    File "<input>", line 1, in <listcomp>
    File ".../site-packages/gcloud-0.14.0-py3.5.egg/gcloud/pubsub/topic.py", line 311, in list_subscriptions
      sub_name = subscription_name_from_path(sub_path, self.project)
    File "../site-packages/gcloud-0.14.0-py3.5.egg/gcloud/pubsub/_helpers.py", line 73, in subscription_name_from_path
      return _name_from_project_path(path, project, _SUBSCRIPTION_TEMPLATE)
    File ".../site-packages/gcloud-0.14.0-py3.5.egg/gcloud/_helpers.py", line 464, in _name_from_project_path
      'project from resource(%s).' % (project, found_project))
  ValueError: Project from client (A) should agree with project from resource(B).

I take a dive into the source codes, and I see that you guys are assuming that every subscriptions that returned have to be in same project with the client, but it's not in my case.
Is it a bug or my misunderstanding?

Someone please delete this issue for me, just a duplicate submit with #1827

@tarzanjw sorry, ght Github UI doesn't support deleting issues.


Avoid modification of json.JSONEncoder in utils

that potentially may introduce compatibility issues

Partially solved in v3.9.1 (better usage of base class)


⚠ TV-Vault has degraded performance

In 1d3db70, TV-Vault ($TVV) experienced degraded performance:

HTTP code: 200
Response time: 15481 ms

Resolved: TV-Vault performance has improved in 418268d.


Feat/aliases osram

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.92%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2205

Relevant Lines:
2373

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.92%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2205

Relevant Lines:
2373

💛  - Coveralls


Shorten some lines in Go discovery fragments

@broady

UGH, github.
LGTM.


Further simply and consolidate GetGateCount chemistry sample.

As per @anpaz-msft's comments in #202, it would be good to further consolidate the C# code for the GetGateCount sample. In particular, there's still some duplicated code sections near where each of the Q# operations is run and then converted out to resource estimates by calls to QCTraceSimulator.GetMetric.

Thanks @cgranade for flagging, I'll look into this.


[SandboxesEndpoint#put] Move checksum discovery out of loop

Description
This endpoint does N number of checksum checks, which can be really expensive when the N is large on the available server checksums and/or the client checksum requests
Types of changes

[X] 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)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[X] I have read the CONTRIBUTING document.
[X] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
[X] All new and existing tests passed.
[X] All commits have been signed-off for the Developer Certificate of Origin.

Pending rebase on a PR that removes 2.6


Easier installation on linux: snap package

Is your feature request related to a problem? Please describe.
A more comfortable way to install packages for many linux distributions is snap. It is also easier to create a snap package than a deb package.
Describe the solution you'd like
I found an already existing snap for tcping by a user called Aibulat. If we trust him, we can add the installation instruction into the readme: sudo snap install tcping
Describe alternatives you've considered
An alternative is to use the official deb package, but is is only for debian-based systems.
Additional context
tcping snap page

Hi @stardust85,
Thanks for the context.
Well, I do not know that publisher and I don't even know if that package is the same as what we offer on this repo?
I've never created snap packages but if you are familiar, PRs are welcome.

I tried his tcping and it behaves differently. It looks like a different application with the same name. If we want to use snap, we will have to either call it different or ask snap store to remove the tcping package. Or to get contact to the owner of the snap package and find out why it behaves differently.

I created a snapcraft issue, because there is no contact information to the maintainer. Surprising that email is optional in snapcraft... https://bugs.launchpad.net/snapcraft/+bug/2076944

I tried his tcping and it behaves differently. It looks like a different application with the same name. If we want to use snap, we will have to either call it different or ask snap store to remove the tcping package. Or to get contact to the owner of the snap package and find out why it behaves differently.

I see. Thank you so much for looking into this. There are many flavors of tcping and I am not surprised to know that one is a dissimilar to ours.

I created a snapcraft issue, because there is no contact information to the maintainer. Surprising that email is optional in snapcraft... https://bugs.launchpad.net/snapcraft/+bug/2076944

I appreciate it :)


Creating a custom annotation gtf file

Hello,
I discovered recently your package and I would like to give it a try with some scRNAseq data that I have from naked mole rat samples. I was wondering which would be your suggested approach to create a custom gtf file. In the genome used to generate the original bam file there is no TCR gene annotation but recently IMGT has released their own annotation. I was wondering what shall I do to create this custom gtf file if in the original genome there is no tcr annotation.
Thanks in advance,
Guillem

You will need the rat reference genome, the GTF file containing the annotation for the TCR and BCR genes, and a file listing the TCR and BCR V, D, J, C gene names (one name per line).
Then you can run the script "perl BuildDatabaseFa.pl reference.fa annotation.gtf gene_name.list > TCR_BCR_coord.fa", which will create a file containing the TCR/BCR V,D,J,C sequences extracted from the reference genome and their genome coordinate in the fasta header.  The TCR_BCR_coord.fa file will be used for the "-f" option in TRUST4.
Since your current GTF file does not contain the TCR genes, I think one way to do is to use RNA-seq data to identify the genes, with methods like PsiCLASS, StringTie, Cufflinks or Scallop. Then you can cross-reference the gene sequence with human or mouse to identify their potential gene names.
Another approach is to start from the fastq file, where you can directly use the IMGT sequences as reference.

Hi, for cases like this where we have non-model references would it be possible to use gene_id instead of gene_name from the reference files to create the TCR_BCR_coord.fa? As in most of these cases gene_name have not been associated with coding loci for non-model organism when cross-referenced against human or mouse?

TRUST4 needs the prefix like "TRBV", "IGHJ" to identify the V,D,J roles. So if you can prepend such name prefixes to the gene_id, it should be fine.
If you have the IMGT-like reference file for the --ref option and only need the gene coordinates to find the candidate VDJC reads, I just added the option "--assembleWithRef" option to the github repo that could be useful for you. With this option, you don't need to worry about the prefix of the gene names.

Hello thanks for the answer,
Is it possible to use the fasta provided by IMGT (https://www.imgt.org/ligmdb/view.action?format=FASTA&id=IMGT000070) to create an "artificial genome" and use the coordinates from it to create the gtf file?
Guillem

That depends on how the alignment was conducted to generate the BAM file. Is the contigs/chromosome name something like "RPGA01000024.1" or "contig23"?
If you know the coordinate for the entries, you don't need to create the gtf file. You can directly create a fasta from the current file. In each header, you shall put the "chrom_name start end strand" information in the header field. The format in "hg38_bcrtcr.fa" is a good example.

Hi,
Thanks for the suggestion. For the moment I succed to extract CDR3 sequences using theraw fastq. I will still try to go for the bam approach once I have more time. Shall I close the issue?
Thanks again for this amazing package.
Guillem

Glad TRUST4 works on your fastq file. You can close the issue for now. I'm thinking about streamlining the process on non-model species, and hope I can implement it in near future.


This seems like it can have wildly varying interpretations and consequently expectations of what an employee's responsibility is regarding what an employer could consider confidential.
A lot of previous contracts I have turned down, have had confidentiality statements where I am not even able to reuse thoughts that the employer considers confidential - all those learned skills and processes, they are confidential business know-how, in your next role you must never use anything you learnt, or even do anything we do, as we'll suspect you learnt it from us! Naturally, that busts the idea-expression-divide, but it doesn't stop their legal team from applying the pressure like an intellectual zombie virus.
So could be nice if the implementation of this responsibility was covered much in the same way as the copyrightable materials in the prior segments, as no complaints on that 👌
It would also be nice to cover the difference between confidentiality obligations and and privacy obligations, as many contracts treat them as the same, even though their practical implementation is quite different. The way I think about it as so:

privacy means the identities are confidential, but the stories are not, however if a story could reveal the identities, then you must alter the story or not tell it
confidentiality means don't discuss the story and optionally the company too.

@balupton thanks for (congrats on?) making first public issue.
The confidentiality section is the least 'interesting' part of the agreement, in that it doesn't do anything innovative. We considered removing it to keep the agreement bare-bones (often confidentiality will be covered in employment contracts outside of an IP agreement) but left it in to keep as close as possible to the agreement sued at GitHub.
I doubt there's much room to change it substantively, but if there are best practice examples of confidentiality language that is more clear, or related analysis, please share them here.

I to agree

cac65eccbf324204f3c682b6454bde3fab87662c (part of #44) is an update to the confidentiality section. It doesn't get into privacy vs confidentiality but is reorganized to be a little easier to follow and emphasizes the already present "...valuable to the Company because it is not publicly known" by adding "Information is not confidential if it is or becomes known or generally available to the interested public by no fault of yours, or you already knew the information independent of having received it from the Company."

If you are not sure if something is Confidential Information, you should assume that it is, until you can confirm otherwise.

Couldn't a company claim that everything is their confidential information? or that all of their IP that isn't open-source is confidential information?
As the confidentiality clause is more restrictive on the employee, this seems an angle that the employer could take.

Apologies for not updating here -- we removed the confidentiality clause from the v2 draft at b1706b7b36294e8f12eaf58a720e5677df4744e9


Refactor-media-settings

test deploy automatically on Heroku to the main repository.

test deploy automatically on Heroku to the main repository.


Add a proxy layer for extras

I like where this is going

I think the ideas here are sound but need a packse test and more documentation around the concepts.


Restructure environment in render implementation

Giving environment the same treatment as I did geometry instance, we already kind of had done this for the Render Device based renderer and then duplicated implementation for GLES3. I brought the structure somewhat forward so RenderingSceneRender has the outward facing API with RIDs, but then expects a subclass of RenderEnvironment to be created by the implementation and interacts with that. The implementation subclasses RenderEnvironments virtual functions to actually implement the environment class.
Work left to do is to simplify a bunch of things in the implementation itself as it no longer needs access methods to get to data and probably just pushing a pointer to the environment around instead of always going through the RID which is not efficient nor needed inside of the render.

After discussing this at length with Reduz in the rendering channel we've decided to simplify this a whole lot more. Environment information is pretty much just storage for data. We'll move the implementation into storage and create an RenderEnvironmentStorage class that keeps track of all the RenderEnvironment instances. Then embed the storage class into RendererSceneRender.
There will be no need to inherit the environment class (might even bring it back to a struct).

I think accessing the internal Environment pointer and structure members should be a no go. We will need to expose this to GDExtension, for which the getters have to be made anyway.

I'll hook up access calls to RendererScene in tomorrow morning and then this should be ready for merge.
This will need to be tested well as this touches a lot of code.

Thanks!