an es modules only re-factor. fixes #516   DO NOT MERGE THIS

changes:

removes commonjs build
removes browserify/bundling from all examples, instead loading them as script type="module"
modified tsconfig.json to generate es6 (it was set to es5)
updated the README to only use esm syntax
adds a "type": "modules", field to package.json
adds an "exports": { ... } field to package.json
updated several dot files to reference node v14.1.0 rather than node 12

things I didn't do:

I made no attempts at re-organizing the way things are exported (I know there's discussion/polite argument about named vs default exports and I haven't touched any of that)
I'm not sure the karma build is working correctly. I'm guessing something is just broken with the config, due to my karma related ignorance. :)
didn't remove webpack usage (I think we could, but wasn't sure if karma is relying on it)

I made no attempts at re-organizing the way things are exported (I know there's discussion/polite argument about named vs default exports and I haven't touched any of that)

After solving, might this change?
import * as snabbdom from '../../es/snabbdom.js';

@mreinstein , :+1: :+1: :+1:

I would split this into several pull requests.

I could remove the node version bump, but I'm unclear what effect that would have on the build? The other changes in the PR rely on being at node 14 and up.

I would leave .js files as .js for now.

Can you elaborate on this? I left the source files as .js, but I changed the  eslint and karma files from .js -> .cjs, in the hopes that they would continue to work. I'm not sure if you're referring to the source files or the config files in your comment about file extensions.

Is there another branch I should send this PR to besides master? I forked the repo and created a new branch, esm-next.

@mightyiam

I would split this into several pull requests.

I could remove the node version bump, but I'm unclear what effect that would have on the build?

Not for the purpose of having any affect on the build. In fact, I didn't even look at the build log. For the purpose of separating changes.

The other changes in the PR rely on being at node 14 and up.

What changes are those that rely on Node.js v14 and up, please? The source code runs solely in the browser during tests, doesn't it?

I would leave .js files as .js for now.

Can you elaborate on this? I left the source files as .js

But our source files are .ts, aren't they?

, but I changed the eslint and karma files from .js -> .cjs, in the hopes that they would continue to work.

With the belief that this change is required for them to continue to work in Node.js v14, or for some other purpose, and with the hope that they would continue to work?

I'm not sure if you're referring to the source files or the config files in your comment about file extensions.

I am referring to the config files.

Is there another branch I should send this PR to besides master? I forked the repo and created a new branch, esm-next.

master would be the correct target. Breaking changes are long overdue, I feel.

0k, thanks for clarifying. I will close this PR, and send a clean one which:

removes the .js -> .cjs file renames
removes the package.json dep updates
removes the version bumps in nodenv, etc.

@mightyiam are you on slack or discord somewhere? Maybe it would be easier to chat in real time. I think that might be quicker

@mreinstein next time, instead of closing an existing PR and opening a new one, reuse the same PR.  Maybe it would be easier to chat in real time. I think that might be quicker.
I'll be here if you want to chat really quick: http://<IP_ADDRESS>:5000/

I feel that asynchronous communication is generally better practice for code reviews.


Milestone B recursive resolving and GetMeta

Hi @moretea, please let me know when this is ready to merge. Is it attached to 1 single issue?

It is ready; the travis tests pass. I went through all the new code climate issues, but it doesn't update thet status on GitHub at the moment...
I would suggest to squash with the following message (note that it refers a few tickets in the commit messages).
* Introduce basic feature flags
* Demonstrate feature flag on dev UI. Closes gh-571
* Remove junk
* Add feature flag for Local->GetMeta
* Init filters just once & enable to creat new set of filters for tests.
* Add simple way to run the prototype
* No need for these to be executable
* Implement recursive lookup & filtering. Closes gh-561
* Finish design GetMeta
* Remove obsolete data structures
* Rename resolver.go in janus connector
* Framework for resolving GetMeta
* Fix formatting


Consider google analytics autotrack

Even simpler to integrate that the current tracking method of the docs
https://github.com/googleanalytics/autotrack
Maybe to close #428 :)

https://gist.github.com/liesislukas/da29cc8e0e7f44d43251e77f1d0415e8

@liesislukas I don't understand why in your gist you are manually calling pageview on route change. Isn't autotrack supposed to handle this?

Tell me what you think about this https://github.com/MoOx/react-toulouse/commit/c42045d1001ab813c5d7eae5ab2f4f8c08c0025e
I think it's the easier solution to integrate in phenomic.

so is it documentation ready ?

Not yet.

Will be part of docs later


Feature Request: Handling Gaps in Graphs for Unreachable Agents/Hosts

Currently, when an agent/host is down or unreachable, the graphs do not indicate the missed data; instead, they close the gap, creating a continuous line. It would be beneficial to modify the graphs to leave a visible gap whenever data collection intervals are failed. This would more accurately reflect periods of downtime or inaccessibility, making it easier to identify when an agent/host was not collecting data as expected. This would more accurately reflect periods of downtime or inaccessibility, making it easier to identify issues.

I agree this would be better. I'll add it soonish if it's an easy change through the chart library.

It is somewhere in line with this in my graphs, currently running v0.1.2. The interesting part is, the agent is running on the same host as the lab, both in containers.

@crypt0rr That doesn't look right. I think you may be experiencing the same issue as #58, where older versions of the Docker API are not reliably returning info for all containers.
What's your output of docker version? So far I've only seen this on Docker 24 / API 1.43.
I recommend upgrading to Docker Engine 27 if possible.

@henrygd Excuse for my late reply. Indeed I'm running version 24.0.5 on Ubuntu 24.04 LTS - will do the upgrade.


It is not micro

On ESP32 without external PSRAM it even does not imports. It will ate whole free memory
Traceback (most recent call last):
  File "main.py", line 2, in <module>
  File "/lib/meterbus/__init__.py", line 21, in <module>
  File "/lib/meterbus/telegram_control.py", line 1, in <module>
  File "/lib/meterbus/telegram_body.py", line 3, in <module>
  File "/lib/meterbus/telegram_variable_data_record.py", line 1, in <module>
MemoryError: memory allocation failed, allocating 136 bytes

Simple example just
from machine import UART, Pin
import meterbus.serial
import time
import meterbus

ser = UART(1, 2400, bits=8, parity=0, stop=1,  tx=4, rx=36)

would be nice to optimize it for low memory environments too to make it micro
also tried even simple import
>>> gc.mem_free()
101488
>>> gc.collect()
>>> gc.mem_free()
103280
>>> import meterbus
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lib/meterbus/__init__.py", line 21, in <module>
  File "/lib/meterbus/telegram_control.py", line 1, in <module>
  File "/lib/meterbus/telegram_body.py", line 3, in <module>
  File "/lib/meterbus/telegram_variable_data_record.py", line 1, in <module>
MemoryError: memory allocation failed, allocating 640 bytes

In case if I will precompile mpy_decimal to mpy, I am able to import, but not too much memory left, that will not be useable for SSL connections, where is atleast 30-40kB needed
>>> import meterbus
>>> gc.mem_free()
22496
>>> gc.collect()
>>> gc.mem_free()
26288

after precompile to mpy it just raise 1kB
>>> gc.collect()
>>> import meterbus
>>> gc.mem_free()
25728
>>> gc.collect()
>>> gc.mem_free()
27536

I barely go through code, there are lot of unsused / reserved index, which can be reduced to just unsupported in some logic in code, do not need load to mem 100 lines of "reserved" dictionaries


gulp-modernizr + blendid doesn't compile finish

What I'm trying to do is add Modernizr to check for touch events
Blendid Version 4.1.1
Problem
As per the title, I'm unable to compile and run my dev server once I added the additionalTask to my task-config. This is a fresh install with nothing out of the ordinary.
Here's my task-config.js
var modernizr = require('gulp-modernizr');

module.exports = {
  html        : true,
  images      : true,
  fonts       : true,
  static      : true,
  svgSprite   : true,
  ghPages     : true,
  stylesheets : true,

  javascripts: {
    entry: {
      // files paths are relative to
      // javascripts.dest in path-config.json
      app: ["./app.js"]
    }
  },

  browserSync: {
    server: {
      // should match `dest` in
      // path-config.json
      baseDir: 'public'
    }
  },

  production: {
    rev: true
  },

  additionalTasks: {
    initialize(gulp, PATH_CONFIG, TASK_CONFIG) {
      gulp.task('modernizrBuild', function() {
        return gulp.src('../src/javascripts/*.js')
          .pipe(modernizr({
            options: [
              'setClasses',
            ],
            tests: [
              'touchevents',
            ],
            dest: 'modernizr.js',
          }))
          .pipe(gulp.dest("public/"));
      });
    },
    development: {
      prebuild: ['modernizrBuild'],
      postbuild: ['']
    },
    production: {
      prebuild: ['modernizrBuild'],
      postbuild: ['']
    }
  }
}

Here's my output with yarn run blendid
$  yarn run blendid
yarn run v0.24.6
$ "/Users/xavianaxw/Code/modernizr-with-blendid/node_modules/.bin/blendid"
[19:05:19] Working directory changed to ~/Code/modernizr-with-blendid/node_modules/blendid
[19:05:21] Using gulpfile ~/Code/modernizr-with-blendid/node_modules/blendid/gulpfile.js
[19:05:21] Starting 'default'...
[19:05:21] Starting 'clean'...
[19:05:21] Finished 'clean' after 15 ms

[19:05:21] Starting 'modernizrBuild'...
[19:05:21] Finished 'modernizrBuild' after 45 ms
[19:05:21] Starting 'fonts'...
[19:05:21] Starting 'images'...
[19:05:21] Starting 'svgSprite'...
[19:05:21] Finished 'fonts' after 116 ms
[19:05:21] Finished 'images' after 65 ms
[19:05:21] Finished 'svgSprite' after 46 ms
[19:05:21] Starting 'html'...
[19:05:21] Starting 'stylesheets'...
[19:05:21] Finished 'html' after 232 ms
[19:05:21] Finished 'stylesheets' after 213 ms
[19:05:21] Starting 'static'...
[19:05:21] Finished 'static' after 6.14 ms
✨  Done in 2.23s.

The gist that is missing
[18:12:53] Starting 'browserSync'...
[18:12:53] Finished 'browserSync' after 157 ms
[18:12:53] Starting 'watch'...
[18:12:53] Finished 'watch' after 10 ms
[18:12:53] Finished 'default' after 468 ms
[BS] Access URLs:

 ----------------------------------
       Local: http://localhost:3000
    External: http://<IP_ADDRESS>:3000
 ----------------------------------
          UI: http://localhost:3001
 UI External: http://<IP_ADDRESS>:3001
 ----------------------------------
[BS] Serving files from: /Users/xavianaxw/Code/modernizr-with-blendid/public
(node:18028) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.co
m/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
webpack: wait until bundle finished: /javascripts/app.js
webpack built adde32e0f34ef4d40a25 in 1169ms

webpack: Compiled successfully.

Package Installed
gulp-modernizr
yarn run blendid -- build also doesn't output any modernizr file.
Any advice to the right direction would be greatly appreciated!

I feel like what you really want is to use modernizr through webpack.
https://www.npmjs.com/package/modernizr-webpack-plugin

@joemidi Never tried this. Seems like a better option for me. Just curious why my build didn't complete for gulp-modernizr

I'm trying https://www.npmjs.com/package/modernizr-webpack-plugin but I'm getting error:
TypeError: TASK_CONFIG.javascripts.plugins is not a function
My config:
const ModernizrWebpackPlugin = require('modernizr-webpack-plugin')

module.exports = {
  html        : false,
  images      : true,
  fonts       : true,
  static      : false,
  svgSprite   : true,
  ghPages     : false,
  stylesheets : true,

  javascripts: {
    entry: {
      // files paths are relative to
      // javascripts.dest in path-config.json
      app: ['./app.js']
    },
    plugins: [
      new ModernizrWebpackPlugin({
        "classPrefix": "",
        "options": [
          "setClasses"
        ],
        "feature-detects": [
          "css/calc"
        ]
      })
    ]
  }
}

I finally used: https://github.com/peerigon/modernizr-loader
My working config:
const path = require('path')

module.exports = {
  html        : false,
  images      : true,
  fonts       : true,
  static      : false,
  svgSprite   : true,
  ghPages     : false,
  stylesheets : true,

  javascripts: {
    entry: {
      // files paths are relative to
      // javascripts.dest in path-config.json
      app: ['./app.js']
    },
    loaders: [
      {
        test: /\.modernizrrc/,
        loader: 'modernizr-loader!json-loader'
      },
    ],
    alias: {
      modernizr: path.resolve(process.env.PWD, './.modernizrrc')
    }
  }
}

And I have .modernizrrc file in project root.

Where would one be able to configure the options for modernizr @illycz ?

in .modernizrrc
here is all options from Modernizr> https://github.com/Modernizr/Modernizr/blob/master/lib/config-all.json
If you want add classes to html you mmust include setClasses option.

Ah yes silly me. Thanks for this @illycz 👍


Emacs does not respond to KWM handling

It does not seem that KWM can handle Emacs? It does not respond to window changes or anything that KWM does on other windows. Can this be fixed by KWM or is it a problem with Emacs?

See https://github.com/koekeishiya/kwm/issues/40


Performance abnormity on 3090 GPU about GEMM operation.

Hi,
I am investigating with the different optimization pass in the Triton on CUDA backend.  I want to do some ablation study about all of the compilation pass on the CUDA backend.
When I annotate the "pm.add_tritongpu_coalesce_pass()", I find that the TFLOPS for the 4096x4096x4096 is so low (15TFLOPS) compared to the configuration without annotation.
After using the NCU tools provided by NVIDIA to zoom in the kernel performance, I can not find the kernel with 15TFLOPS performance.
I am curious about whether there is a  BUG in the autotune function?

All of the experiments are done on the 3090 GPU with tutorial provied by the official document with the default tuning space.

I'm not sure I follow what changes you made to get the low TFLOPS, could you share the minimal git diff to repro.

@zahimoud Hi, thanks for your quick response. I only cancel the optimization pass "add_tritongpu_coalesce_pass".


⚠ Bofrost.be has degraded performance

In e20add7, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1342 ms

Resolved: Bofrost.be performance has improved in 0a0c585 after 9 minutes.


Release notes for 27 August Private Cloud portal

Added the release notes for 27 August release

 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.

@Nidhi251289 please sign the CLA (new app was needed): https://cla-assistant.io/mendix/docs?pullRequest=2678

CLA signed

@MarkvanMents please review upon return

@MarkvanMents passing this back to you, they will let you know when to publish.


For internal code docs, need prefixes for function names, such "get" vs "read", etc.

Does getFoo() mean obtain a value from some kind of data structure in memory, vs. readFoo() which obtains it from a file? Be helpful if I adopted a convention something like this. Maybe just

getFoo() to read the value from memory
readFoo() to read from a file
setFoo() to set the value in memory
writeFoo() to write to a file?

Or maybe omit the get, but use set, as described in https://go.dev/doc/effective_go#names?

Advantage to use  get explicitly is that it's easy to search for a way to retrieve the value without colliding with the name of the data type

OTOH, there are many cases where I need to do both, for example: read the skip list command line setting, and also get it from front matter. Maybe the reader for that would just be skipPublishSettings()? or skipPublishPrefs()? though getSkipPublish() would be faster to search for

Yeah later


[Perf] Add CublasLt extern support for better Igemm performance

Currently, when computing int8 gemm using Cublas, TVM will call CublasGemmEx, which doesn't actually take advantage of int8 tensor core's performance.  By using cublasLt (for cuda version >= 10.1), we speedup int8 gemm by up to 3.5x. Here's a performance comparison between CublasLt and current CublasGemmEx called by TVM on Telsa T4 GPU. CUDA version is 10.1, driver version is 418.39

(m, n, k)
CublasLt (TOPS)
Cublas(TOPS)

1024
13.28
8.49

2048
25.46
10.4

4096
37.75
11.87

6144
41.02
11.6

8192
42.19
14.18

Note that cublasLt Igemm requires input matrices to satisfy certain layouts in order to trigger IMMA tensor operations for tensor core: Matrix A and C memory ordering should be the same (CUBLASLT_ORDER_COL32), and matrix B should be in CUBLASLT_ORDER_COL4_4R2_8C layout. For best performance, we do these matrix transformations only once on python side, before passing the matrices to cublasLt.
@Hzfengsy @masahi Could you review?

I'll try running the test on my box with Turing card tomorrow.

@Laurawly can you try kicking the CI again?

It seems CI is dead now.

It seems CI is dead now.

Yeah, will try again when CI is fixed.

@tqchen could you help with the CI?

Thanks @Laurawly @Hzfengsy this is merged


[DOC] Remove optional from docstrings

Describe the issue linked to the documentation
this is a minor change to allow new contributors to figure out the github workflow and make a first minor contribution. Our current standard doc comment for optional parameters is the
   window_length : int, default=10

however, in many places it is still listed as this
   window_length : int, optional (default=10)

it would be good to standardise across the toolkit. Feel free to change as few or as many as these as you want in order to make a contribution
Suggest a potential alternative/fix
No response

Happy to take on this issue, using vscode's find/replace to find regex pattern optional \(default=(.*)\) and replace with default=$1. I'll double check all replacements to verify that this procedure doesn't cause any problems with edge cases.


Circular reference when creating a BYOC trunk with a sip domain as both "from" and termination domain

Issue Summary
Circular reference when creating a BYOC trunk with a sip domain as both "from" and termination domain
Steps to Reproduce

create a terraform file with the resources below

Code Snippet
resource "twilio_voice_byoc_trunks_v1" "my_byoc" {
    from_domain_sid = twilio_api_accounts_sip_domains.my_sip_domain.sid
}

resource "twilio_api_accounts_sip_domains" "my_sip_domain" {
  domain_name = "myexample.sip.twilio.com"
  byoc_trunk_sid = twilio_voice_byoc_trunks_v1.my_byoc.sid
}

Exception/Log
Error: Cycle ...

Technical details:

terraform-provider-twilio version: 0.8.12
terraform version: 1.0.11

Ran into this today, it's something that is completely possible to do from the UI but not from terraform.
I was hoping that there would be a work-around of having separate "from" and "termination" domains but this doesn't seem to be possible either at the moment which makes it afik impossible to configure the from domain with terraform

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog (ref: DI-1325).


Bug: Some Events Are Not Parsed by the Daemon

There are dormspams which we did not pick up.
Bug report email:
Hey dormsoup,

Is there a way to manually add an event to dormsoup? I sent a dormspam for LOST's fall production but I don't think dormsoup picked up on it.

Thanks,
Fadi Farag

Digging into the journalctl log, I found
Oct 24 15:00:14 dormdigest npm[1628499]: Got email, subject: "[THEATRE] LOST produces The Pillowman" sending to processNewEmail.
Oct 24 15:00:14 dormdigest npm[1628499]:  New email was of type: dormspam-but-root-not-in-db

which is very weird, because the original email is not inReply to any email:

There are other events which are also not pick up, e.g. the Pumpkin Drop. There might be something wrong with how the current InReplyTo logic is done

Pumpkin Drop was rejected for the same reason:
Oct 26 11:56:00 dormdigest npm[1628499]: Got email, subject: "PUMPKIN DROP TODAY" sending to processNewEmail.
Oct 26 11:56:00 dormdigest npm[1628499]:  New email was of type: dormspam-but-root-not-in-db

Cannot reproduce by copying the email text and sending it to<EMAIL_ADDRESS>If we do that, it is properly recognized as an event

Turns out it is in reply to "some email".

Moving forward, I think this whole "inReplyTo" logic is unreliable. Maybe we should remove this block of code. It is a lot better to have duplicates than to have emails not found.


cudnn51_cudatoolkit80: Init at 5.1-8.0

Motivation for this change
Add CuDNN 5.1 with CUDA toolkit 8.0 support into the main repository.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc @FRidh (helped last time with 5.0-8.0)


Add docstrings to PyPika classes and functions

PyPika is lacking class and function docstrings in many areas, meaning they are not picked up by Sphinx/ReadTheDocs.
We should add docstrings to ensure that the code is very easy to read for any users that want to read the code if the written documentation does not provide enough detail.

Can you list some examples please?  Some things like functions wrap SQL functions which are documented by database vendors.

Sorry, I just saw this message.
The functions are fine as they just wrap SQL functions. I think that the terms.py file could do with better commenting. Some classes have docstrings but many do not. Also, some of the methods could do with commenting e.g. it may be hard to know what is the difference between get_sql, get_function_sql and get_partition_sql to someone that reads the code for the first time.

Supported databases? How to connect to a database? These are basic things missing altogether from the visible documentation.

Hi @joaodlf.
PyPika is just a SQL query builder, not an ORM like SQLAlchemy. Therefore, we don't provide functionality to connect to a database, you will have to construct the query yourself in PyPika, cast the query object to a string (to get the stringified query) and pass that to a database connection module.
We have some documentation on handling other database platforms: http://pypika.readthedocs.io/en/latest/3_advanced.html#handling-different-database-platforms
These different query classes are used to set some base settings that are different between the platforms, such as different quote characters. If you want to implement different functions specific to a platform, you can import the Function class and create your own subclass, like we do for some generic functions in the subclass module: http://pypika.readthedocs.io/en/latest/api/pypika.functions.html?highlight=function.
If a SQL database platform you use is missing from the list of query classes, then feel free to create a PR implementing one.
Thanks!


Automate git tag generation and GitHub releases

Perhaps we could use a build system like Gradle or Pants. This would not only allow us to leverage existing plugins for tasks such as GitHub releases, but also relieve us from the poorly implemented dependency management built in to Python.

Since we use custom release titles, and the process of maintaining release scripts is cumbersome in this environment, it is better to do it manually.


Implemented Generic Cache

Meant to address #32 . Not sure if this was the idea, but here was my interpretation. @RX14

I would merge this (albeit with a few tweaks) if not for #31. I want to do this and #31 at the same time, sorry.

Why would Cache inherit from GenericCache, though? What I meant is the Cache class is simply renamed to GenericCache and acts as, well, a generic cache that caches most of the commonly needed Discord data. In the future there may be other, more specialised, types of caches that share nothing with GenericCache except for the name and the fact that they listen to client events.

@meew0 A simple answer is that I misunderstood, and it's not being merged, as it also  doesn't comply with #31, and wasn't exactly what you both were looking for. Will work on it, and will send you both my fork instead of making a pull request next time so you both can look at it.


cannot type "ý" (czech keyboard)

Describe the bug
I have a problem with typing character ý on czech keyboard. It does work in nvim, but not in macvim (neither vim). This is only discussion that I have found about this problem.  It works when loading clean vim (vim --clean (or gvim --clean), [g]vim -u NONE), but how can I make it work with my config.
To Reproduce
Detailed steps to reproduce the behavior:

set czech keaboard QWERTZ macintosh
open vim/mvim at new file
Type "ý" in insert mode (at key number 7)

Expected behavior
When I press "ý", it should also be written in text.
Screenshots

Environment (please complete the following information):

VIM - Vi IMproved 8.2
OS: [ macOS 10.15.7]
Terminal: [iTerm2]

Additional context
.vimrc
set nocompatible             " be iMproved, required
filetype plugin on             " required

call plug#begin('~/.vim/plugged')

Plug 'sirver/ultisnips' | Plug 'honza/vim-snippets'
    let g:UltiSnipsExpandTrigger = '<tab>'
    let g:UltiSnipsJumpForwardTrigger = '<tab>'
    let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
Plug 'lervag/vimtex'
    let g:tex_flavor='latex'
    let g:vimtex_view_method='skim'
    let g:vimtex_quickfix_mode=0
Plug 'KeitaNakamura/tex-conceal.vim'
    set conceallevel=1
    let g:tex_conceal='abdmg'
    "hi Conceal ctermbg=none

Plug 'vimwiki/vimwiki'
	let g:vimwiki_list = [{'path': '~/vimwiki/',
                      \ 'syntax': 'markdown', 'ext': '.md'}]

Plug 'itchyny/lightline.vim'

Plug 'altercation/vim-colors-solarized'

Plug 'plasticboy/vim-markdown'
    let g:vim_markdown_folding_disabled = 1

Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install'  }

Plug 'vim-pandoc/vim-pandoc'
Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'vim-pandoc/vim-pandoc-after'

Plug 'sheerun/vim-polyglot'

Plug 'jiangmiao/auto-pairs'

Plug 'tpope/vim-surround'

Plug 'mhinz/vim-startify'
	let g:startify_custom_header = []

call plug#end()

if has("gui_running")
    colo solarized
	"highlight Normal guibg=#2E3440 guifg=#E5E9F0
    set guicursor=n-v-c:block-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor,sm:block-Cursor-blinkwait175-blinkoff150-blinkon175
else
    colo solarized
endif
set background=dark

inoremap <C-f> <Esc>: silent exec '.!inkscape-figures create "'.getline('.').'" "'.b:vimtex.root.'/figures/"'<CR><CR>:w<CR>
nnoremap <C-f> : silent exec '!inkscape-figures edit "'.b:vimtex.root.'/figures/" > /dev/null 2>&1 &'<CR><CR>:redraw!<CR>
nnoremap <C-s>:   ! for FILE in ./figures/*.svg; do inkscape -D $FILE  -o .pdf --export-latex; done

hi clear Coceal

set guifont=Menlo-Regular:h18
set hlsearch
set incsearch
set ignorecase
set smartcase
set number
set relativenumber
"set wrap
set linebreak
set nolist
set laststatus=2
set cmdheight=2
set noet ci pi sts=0 sw=4 ts=4
set nofoldenable
set mouse=a

augroup pandoc_syntax
  autocmd! FileType vimwiki set syntax=vimwiki.pandoc
augroup END

actually both Czech keyboard layouts don't work with exactly this key
This letter can't be inserted with Polish keyboard as well, but can be pasted in

@Duuuscha I've done some testing on my side for my list of plugins, and found that jiangmiao/auto-pairs blocks this letter completely to be inputted.
Could you write to them and link back to this issue if someone be interested in?

and yes, they have already this issue: https://github.com/jiangmiao/auto-pairs/issues/317

Thank you for mentioning the other issue at auto-pairs will follow it there.

Thanks for debugging this @eirnym!


Updating Learn TV Code of Conduct for Learn rebrand

Docs Build status updates of commit a9db704:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

DocsLegal/learnevents/codeofconduct.md
:white_check_mark:Succeeded
View

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


build(deps): Bump github.com/operator-framework/operator-sdk from 1.3.0 to 1.6.1

Bump sigs.k8s.io/controller-runtime from 0.7.0 to 0.8.3
Bump github.com/operator-framework/operator-lib from 0.3.0 to 0.4.0

Closes #636
Closes #620

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
f40a599339ca8e43e769257bd8f4826b40093be0
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
f40a599339ca8e43e769257bd8f4826b40093be0
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
0c99cefa3a6f76c8d81e59e50ceb36bc5149a674
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
668c4ece44d9072979ed214f1d9d37e314ec8c9b
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
dfa3f55d8c56f56b59a1073a19720471de4ce3f7
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
dfa3f55d8c56f56b59a1073a19720471de4ce3f7
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

/test openshift

/test openshift

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
1812f555e0ca990fdcfb6a9155700662ca6fef36
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
8760682fbdc0bdc521d88822b741c44af30df978
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift2

@aslakknutsen: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
ebccae34676aa0400d3eb8d1b6b8233695f190e3
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aslakknutsen: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
ebccae34676aa0400d3eb8d1b6b8233695f190e3
link
/test openshift

e2e-tests-openshift2
ebccae34676aa0400d3eb8d1b6b8233695f190e3
link
/test openshift2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test v2

@aslakknutsen: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

/test openshift
/test openshift2

In response to this:

/test v2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/test v2

@aslakknutsen: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

/test openshift
/test openshift2

In response to this:

/test v2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/test v2

@aslakknutsen: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

/test openshift
/test openshift2

In response to this:

/test v2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/test v2

/test v2

@aslakknutsen: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
ebccae34676aa0400d3eb8d1b6b8233695f190e3
link
/test openshift

e2e-tests-openshift2
617efef475091f8791790b3d62c6865a0e111943
link
/test v2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test v2

/test v2

@aslakknutsen: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
ebccae34676aa0400d3eb8d1b6b8233695f190e3
link
/test openshift

e2e-tests-openshift2
937de79254787744954673f793af8acface3c87d
link
/test v2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test v2

@aslakknutsen: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
ebccae34676aa0400d3eb8d1b6b8233695f190e3
link
/test openshift

e2e-tests-openshift2
937de79254787744954673f793af8acface3c87d
link
/test v2

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


TypeError: db.raw is not a function  when trying to make an aggregate

Hello,
my goal is to make a json_agg, I tried to follow the examples mentioned here  but I get TypeError: db.raw  as explained here in details.
I am on  v 0.19.3 but also tried on v 0.18.1 with no luck
any help would be appreciated :)

db.raw was replaced by the sql template tag a while ago.
Now you'd do something like this:
function json_agg<DB, TB extends keyof DB, O = {}>(qb: QueryBuilder<DB, TB, O>) {
  return sql<O[]>`coalesce((select jsonb_agg(x) from (${qb}) x), '[]'::jsonb)`
}

That worked thanks a lot


ci-artifacts as a PSAP toolbox

It would be nice to add to this repository a simple CLI command (maybe run or a wrapper on top of it, or another script dedicated to a manual usage) that helps PSAP frequent operations:

deploy the GPU operator from a custom commit. Something like this:

./build/root/usr/local/bin/run ci-builder https://github.com/kpouget/ci-artifacts.git commit-local-ci \
      run gpu-commit-ci https://gitlab.com/kpouget_psap/gpu-operator devel

deploy the NFD operator:

ansible-playbook playbooks/openshift-psap-ci.yml -e test_sro=no

add a GPU node on AWS

entitle the cluster, by passing a PEM file, checking if they should be concatenated or not, etc.

The build folder is for things we want into the container image, for this idea I would prefer a simple Bash on the project root.
But I like the idea

The build folder is for things we want into the container image, for this idea I would prefer a simple Bash on the project root.
But I like the idea

@ArangoGutierrez I think this toolbox can be really useful for people dealing with NFD & GPU Operator, so we should strive to make it more complete and convenient to use. Some ideas of what should be added:

undeploy NFD from OperatorHub

better control of NFD channel

capture entitlement possible issues (list MC resources, make sure that cert/key/rhsm are at the right place, test dnf install kernel-devel ...)

capture GPU operator possible issues (entitlement ^^, NFD labelling, operator deployment, state of resources in gpu-operator-resources, ...)

deployment of an entitled cluster (https://gitlab.com/kpouget_psap/deploy-cluster)

And in addition, I think that build/root/usr/local/bin/run image entry-point should be updated to rely on the toolbox, so that we don't break the toolbox by mistake

for reference, here are the current functionalities of the toolbox:
toolbox/gpu-operator/deploy_from_operatorhub.sh
toolbox/gpu-operator/undeploy_from_operatorhub.sh
toolbox/gpu-operator/deploy_from_commit.sh
toolbox/gpu-operator/undeploy_from_commit.sh
toolbox/gpu-operator/run_ci_checks.yml
toolbox/deploy_nfd_from_operatorhub.sh
toolbox/scaleup_gpu_node.sh

:black_square_button: Entitle the cluster, by passing a PEM file, checking if they should be concatenated or not, etc. And do nothing is the cluster is already entitled

@ArangoGutierrez do you think you can take care of that?
I would like to get rid of this:
entitle() {
    # TODO: this should become an ansible playbook properly waiting
    # for the deployment of the entitlement

    if [[ "${SKIP_ENTITLEMENT:-n}" == y ]]; then
        echo "Skipping entitlement (SKIP_ENTITLEMENT=${SKIP_ENTITLEMENT})"
        return
    fi

    PSAP_ENTITLEMENT="/var/run/psap-entitlement-secret/01-cluster-wide-machineconfigs.yaml"
    if [ ! -f "$PSAP_ENTITLEMENT" ]; then
        echo "FATAL: PSAP entitlement resources not found ($PSAP_ENTITLEMENT)"
        exit 1
    fi

    if ! oc get mc/50-entitlement-pem -oname 2>/dev/null | grep -q 50-entitlement-pem; then
        echo "===> Apply entitlement manifests from ${PSAP_ENTITLEMENT} <=="
        oc create -f "${PSAP_ENTITLEMENT}" && sleep 300
    else
        echo "===> Entitlement already instanciated <=="
    fi
}

and replace it with something like this in the CI:
PSAP_ENTITLEMENT="/var/run/psap-entitlement-secret/01-cluster-wide-machineconfigs.yaml"
./toolbox/entitle_cluster.sh --machine-configs $PSAP_ENTITLEMENT

or outside of the CI:
./toolbox/entitle_cluster.sh --pem /path/to/key.pem

which would make sure that the entitlement is correctly created and applied.


Git Book Detect

Seems Git Book allow users use their custom domain to publish Git Book.
The dark style can't easily use stylus domain match / regex match rule to apply.

Inspired by this post[^1], maybe I can use DNS lookup API like Google JSON API [^2] to check if there is a record called hosting.gitbook.com, then use Tampermonkey scripts to apply style.
[^1]: Use DNS TXT lookup to gain quick insights which services companies are using - AllAgora
[^2]: JSON API for DNS over HTTPS(DoH) | Public DNS | Google Developers


[BUG] "Failed to authenticate" message

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.0
What problem did you encounter?

Wanted to play roblox today and this just popped up.
Bloxstrap Log
N/A

same problem ha

amazing, did you find a fix yet? Tried uninstalling and reïnstalling, forced reïnstallation and task manager didn't help me much either.

Roblox is down just wait for it to come back up

That explains a lot, thanks!


Values in author array are filled with wrong values such as dates

Hi,
I recently noticed that the resultsObj returned when searching is containing wrong values in the authors  array.
Do you know anything regarding this?
Thank you in advance!
Version<EMAIL_ADDRESS>scholar.search("Test")
    .then(resultsObj => {...

returns:
{
  "results": [
    {
      "title": "Alternative to mental hospital treatment: I. Conceptual model, treatment program, and clinical evaluation",
      "url": "http://archpsyc.jamanetwork.com/article.aspx?articleid=492295",
      "authors": [
        {
          "name": "LI Stein",
          "url": ""
        },
        {
          "name": "MA Test�- Archives of general psychiatry",
          "url": ""
        },
        {
          "name": "1980",
          "url": ""
        }
      ],
      "description": "METHODS The experiment was designed to study the effects on patient functioning during a 14-month intensive community-treatment program and to evaluate patient functioning afterward when patients were transferred to traditional community programs. To accomplish ",
      "citedCount": 0,
      "citedUrl": "https://scholar.google.comjavascript:void(0)",
      "relatedUrl": "",
      "pdf": "http://www.psychodyssey.net/wp-content/uploads/2016/01/PACT.pdf"
    }, ..

Hey thanks very much for taking the time to report this, and for using the package! Unfortunately (?) I think that Google Scholar got a facelift recently, so it naturally broke my scraping. Probably I need to update the parsing of the authornames /-: if you have experience with this, please feel free to help out. I will try my best to get to it, but I have a lot on my plate right now.


asynchronous transformers

a server i'm communicating with requires a signature to be generated from a key-pair and appended as a header for every request. i decided to try and use a request transformer to keep this signature generating code in one place, instead of passing a signature value in with every api.whatever('/where/ever') call.
the module i'm using for generating these signatures works exclusively with promises. as a result of this constraint, i have tried these two approaches:
// approach one
api.addRequestTransform(async function(request) {
    var now = crypto.createHash('sha256').update(Date.now()).digest()
    request.headers['x-message'] = now.toString('hex')
    request.headers['x-signature'] = await sign(Buffer.from(privatekey, 'hex'), now)
})
// approach two
api.addRequestTransform(function(request) {
    var now = crypto.createHash('sha256').update(Date.now()).digest()
    request.headers['x-message'] = now.toString('hex')
    sign(Buffer.from(privatekey, 'hex'), now).then(function(sig) {
        request.headers['x-signature'] = sig.toString('hex')
    }).catch(function(err) {
        // abort the request, somehow
    })
})

when the request is fired, the value that i attempted to set in the transformer is not present. after reading the request transformer part of the source code, it appears to be attributed to ramda foreach not waiting for my promise to resolve.
so, is it okay to be using asynchronous functions within a transformer? (i'm presuming the answer is no 😄  ) or should i try and find a way to generate these signatures synchronously?
edit:
is it possible to support asynchronous transformers? if so, any pointers for implementing? i'd be happy to have a crack at it!

Interesting.  Seems reasonable.
  That'd mean changing the internals of apisauce to be promise-based as well.
Hmm.  I like where this is going.

closed by https://github.com/skellock/apisauce/pull/31


One month Vue instance

This could be a cool feature to improve the rendering of the 12 Vue Cal in the year view. So each calendar would have only one month and not 12 for each calendar.

Please read the documentation and clarify:
https://antoniandre.github.io/vue-cal/#examples
https://codepen.io/antoniandre/pen/jOOmxzo
?

Hi @xiscohv thanks for the suggestion. It's not very clear to me, but I think you would like to have the month view of a whole year at a time with events shown on month view.
So it's almost like the Codepen @rubjo quoted, but with events, if that's what you mean?
If that is, it's already possible separately like on the Codepen, but not within Vue Cal's codebase because this would be too slow to render and recalculate all the events at once in addition to all the checks and views rendering itself.
Please reopen if that is not what you meant or if you want to clarify the need.
Cheers.


License?

Is this all code licensed under the same Apache 2.0 license as in the sam directory?
https://github.com/THU-MIG/RepViT/blob/main/sam/LICENSE

Thanks. Yes, and the license has been updated for all code.


Conflict with Zzh-autopair

General information

Basic examination

[x] I have read through the README page
[x] I have the latest version of zsh-vi-mode
[x] I have tested with another terminal program

Problem description

All my plugins were working properly until I introduced this plugin into the mix. Basically, this plugin conflicts with (zsh-autopair)[https://github.com/hlissner/zsh-autopair] . When I remove this plugin zsh-vi-mode, zsh-autopair works. The autopair plugin does not get initialized if I enable this plugin.
For example as soon as I press quotation mark " I should get another " right next to the cursor i.e. autopair. However, when I enable this, the pair does not show up unless I run source ~/.zshrc or initialize the autopair with autopair-init
Reproduction steps

Add this to ~/.zshrc file:

source ~/.zsh-autopair/autopair.zsh
source ~/.zsh-vi-mode/zsh-vi-mode.plugin.zsh
autopair-init

Close terminal and re-open
Try to trigger autopair by typing ', ", (, etc.
Notice no pair - need to manually source or initialize autopair to fix

Expected behavior
Autopair to trigger as soon as you open a terminal. I don't mind initializing autopair but it should do it on its own based on the ~/.zshrc settings. Apart from that, I am loving the plugin so far! Keep up the good work 😄

This happens because zsh-vi-mode is lazy-loaded. This can cause some unpredictable things to happen, despite having the correct load order in your ~/.zshrc.
The simplest solution is to turn off lazy-loading by doing:
ZVM_INIT_MODE=sourcing

Or you can also do something like:
zvm_after_init_commands=(autopair-init)

For posterity and just in case it helps someone with the same problem, setting ZVM_INIT_MODE=sourcing didn't help, but setting zvm_after_init_commands=(autopair-init) did.
Also it might be helpful to set AUTOPAIR_INIT_INHIBIT=1 so you don't initialize zsh-autopair twice.

@musjj  and @Anomalocaridid suggested fixed my issue. Thank you very much for the help. You guys rock!


The ability to delete postings

Maybe some sort of interface that lets moderators delete posts or stop someone from posting for a period of time or move them to another subboard also I think maybe the ability to upload . ansiwave files to sub boards or your profile banner so say you're working on something offline and you can just plop it on the server once you're done with it

http://brokenansi.ddns.net/#board:a9hVjJDW9Sh3rq8K-dWFYEZ2uuqJ_d2qUzSaUmzQPrE
Here's the link to my board. You can only use the client to log in at the moment but I got it partly working

Nice, i connected to it. Yeah i need to add a way to delete (rather than hide) individual posts. You can add modpurge to a user but that'll delete everything they wrote. I just need to make it work on individual posts too.
You can upload ansiwave files but only via the web version right now (it has the + file button). I wanted to add it to the terminal version but i need to figure out the UI since you can't show a file picker dialog box there.

Maybe make a way without using the UI. Maybe somehow passing a few parameters through the client. You can just upload it that way

I also came up with another cool idea. Maybe add some sort of way to have like animated or moving ansi art using some form of scripting

I even want to allow making games eventually, using wavescript to write them (the existing music language). The idea is that you could draw images as ansi art and write code directly next to it. With that kind of system you could make ansi art animations too.

Oh cool

https://youtu.be/mE0bqZ6MyT4

NICE! If you want the web version to work, you can build it here. However, you will first want to change the default board in wavecore on this line. After editing that, you can nimble install in the wavecore project, then build ansiweb. All the frontend files will end up in ansiweb's build folder, and you just need to copy all of them into your bbs directory. Since nginx is serving that directory, you should be able to see it when you open http://brokenansi.ddns.net

build failed even after i did nimble emscripten

Seems like it is using an old copy of ansiwave, can you try deleting the ~/.nimble/pkgs directory?

  I will fix it tonight but I'm not at my computer right now

It was the ansiweb I was trying to compile

@lostfile1 if you pull the latest commit from ansiweb it should compile now.

got it to build

this happends every time i try to post some thing

Are you posting from the terminal or the web version?

Are you posting from the terminal or the web version?

Web

I forgot that you also need to change this line:
https://github.com/ansiwave/wavecore/blob/b989ea4d320607a4aacaeec34f032fa3b5ef5920/src/wavecorepkg/paths.nim#L11
It's still pointing to my server. Just make it an empty string like "" then re-install wavecore and rebuild ansiweb. Hopefully that will help.

I forgot that you also need to change this line. It's still pointing to my server. Just make it an empty string like "" then re-install wavecore and rebuild ansiweb. Hopefully that will help.

All right, I'll give it a try

do i have to remove all of the post, urls or no

Just the one on line 11 should be good, it just need to be an empty string.

Just the one on line 11 should be good, it just need to be an empty string.

himm it still doesnt work i will just pull a fresh copy from github and try again

himm everytime i edit or post some thing on the web interface it would set the url to /#

Do you see any errors in the dev console of your browser?

Do you see any errors in the dev console of your browser?

i rebuilt wavecore and webansi and that fixed it

Nice, good to hear.

FYI i updated ansiweb so you can set the defaults in the config.nims file, so you don't need to edit/reinstall wavecore like before. Basically you just need to edit ansiweb's config.nims to have this at the top:
switch("define", "defaultGetAddress:")
switch("define", "defaultPostAddress:")
switch("define", "defaultBoard:YOUR_BOARD_KEY_HERE")

thanks

my site should be up and running heres the meta board
http://brokenansi.ddns.net/#type:post,id:WnOVZbC5i2_nePyUsOJLwoZrGcR43OfpiXm5exkOUeaughKnORz6gs3MNKBRGLvHfPGcPOHWPfQ54mnMEtYsDA,board:a9hVjJDW9Sh3rq8K-dWFYEZ2uuqJ_d2qUzSaUmzQPrE


Run client.py and get AssertionError

Hi,
I am able to successfully run a crossbar node. Then, I want to start a client which is not on the same machine as Django and crossbar node, and I got the AssertionError as follows:
(The monitor.py is the same as client.py)
ubuntu@some-ip:~/wamp_monitor$ python monitor.py
Traceback (most recent call last):
  File "monitor.py", line 143, in <module>
    app.run(url="ws://%s:80/ws" % SERVER, debug=False, debug_wamp=False)
  File "/usr/local/lib/python2.7/dist-packages/autobahn/twisted/wamp.py", line 381, in run
    debug=debug, debug_wamp=debug_wamp, debug_app=debug_app)
  File "/usr/local/lib/python2.7/dist-packages/autobahn/twisted/wamp.py", line 134, in __init__
    assert(type(url) == six.text_type)
AssertionError

Any suggestion?
Thanks

what if mark url as unicode? like
app.run(url=u"ws://%s:80/ws" % SERVER, debug=False, debug_wamp=False)

Oh! This works! Thanks!

Hi, I did the same but now I get the following error:
python client.py
Connected
Entering stats loop ..
Tick
Error in stats loop: 'module' object has no attribute 'phymem_usage'

psutil.phymem_usage() was deprecated. Try with psutil.virtual_memory() instead.

(ok, looking at this somewhat late...) - Not enough information to replicate. Closing as is.
@dkdndes - If the problem persists then please re-open and add more information.


Missing file in the 'web' folder

The server.py file in the web folder imports 'utils'. I don't think this is the same utils.py that is in the root of the project, and if it isn't, then this file is missing.
Can you please add it or let me know what I'm mising/!

It's badly located in the main folder as it serves both the DB build and the map server  Need to come up with a better solution to this.

Ok, I'll need to look into it a bit more, as I copied it into the web folder and still couldn't start the app. I'll get back to you =).

Hey @minus34
Running server.py while importing utils wants to be run with the arguments. See below. I'll look at fixing this. I'm having other troubles importing geography using the docker process, and I'll try to put together a PR fixing this.
python3 server.py
usage: server.py [-h] [--max-processes MAX_PROCESSES] [--pghost PGHOST]
                 [--pgport PGPORT] [--pgdb PGDB] [--pguser PGUSER]
                 [--pgpassword PGPASSWORD] [--census-year CENSUS_YEAR]
                 [--data-schema DATA_SCHEMA]
                 [--boundary-schema BOUNDARY_SCHEMA] [--web-schema WEB_SCHEMA]
                 [--num-classes NUM_CLASSES] --census-data-path
                 CENSUS_DATA_PATH --census-bdys-path CENSUS_BDYS_PATH
server.py: error: the following arguments are required: --census-data-path, --census-bdys-path

Yep, that is goofy!

Need to split the load-census only utils from the common utils

Closing this.


Reference to object File Management is ambiguous.

Since #1637 is locked:
The misleading ambiguous message bug still exists in vsix 15.18771, using bcsandbox Build 21229.
AL files were created with txt2AL.
In my case it is Codeunit 419
Reference to object File Management is ambiguous. Make sure you are not referencing packages containing objects with the same names.
A workaround is to replace
FileMgt : Codeunit "File Management";
with
FileMgt : Codeunit 419;
then the error message goes away.

Do you have any other errors in your project, especially syntax errors? Otherwise, could you provide a simple AL example of code that triggers this situation, including the app.json?
We are not able to reproduce it.
This could also be caused by stale symbol files. Just to eliminate other variables it's good to try on a fresh container sandbox, delete local .app symbol files and redownload them from the server.

Ok thanks. With syntax errors present this is most likely not an actual bug but just a result of parsing incorrect code. I will close this issue, please log a new one if you're still hitting the error on a correctly structured code.
An issue that we have seen in the past is if any of the structural keywords are missing (for example an Area inside of layout) then the parser might pick up variable declarations as object declarations leading to duplicate objects.
I recommend using ExportToNewSyntax and txt2al from the latest bcsandbox-master Docker images. There were many bugs fixed in the tool since NAV 2018 shipped.


Investigate sync issue between audio and JSON file

The duration of the audio appears to not match the duration of the JSON data file.
(cf. https://github.com/Creative-AI-Research-Group/embodiedMusickingDataset/tree/master/dataset)
Requires troubleshooting:
session.date difference != session.last_update difference != number of rows != number of rows minus missing flow values != audio duration

Closing as this is rather affecting the training of the AI Factory (performed in a separate repo) as opposed to its execution.


Person page layout broken

Styles for person pages (e.g., https://umd-mith.github.io/mith-static/people/grace-babukiika) seem to be defaulting to multi-column and are thus broken on mobile.

@trevormunoz I will take a look. It likely got messed up when I implemented the CSS for Past People, but will fix it regardless.

Research items have something similar going on but I figured you were still working on those so I didn't file a bug :)

The media query fixes the core issue. Looks like there might still be some wrapping issues, e.g.

Okay. The screenshot is very helpful! I will investigate and fix.


Allow to set gas price directly for each transaction

Suggest changes:
Give users more control over gas prices! Instead of locking them in the SigningStargateClientOptions, let them adjust it on the fly with signAndBroadcast and signAndBroadcastSync. No more client recreations just to tweak that gas!
Author: Doan Phi Hung<EMAIL_ADDRESS>Date:   Fri Dec 15 15:16:14 2023 +0700

    Allow to set gas price directly for each transaction

diff --git a/packages/stargate/src/index.ts b/packages/stargate/src/index.ts
index e424bed7c2..52ae6b0341 100644
--- a/packages/stargate/src/index.ts
+++ b/packages/stargate/src/index.ts
@@ -117,6 +117,7 @@ export { isSearchTxQueryArray, SearchPair, SearchTxQuery } from "./search";
 export {
   createDefaultAminoConverters,
   defaultRegistryTypes,
+  Fee,
   SignerData,
   SigningStargateClient,
   SigningStargateClientOptions,
diff --git a/packages/stargate/src/signingstargateclient.ts b/packages/stargate/src/signingstargateclient.ts
index a01817bc83..60e4cee8e8 100644
--- a/packages/stargate/src/signingstargateclient.ts
+++ b/packages/stargate/src/signingstargateclient.ts
@@ -63,6 +63,15 @@ export const defaultRegistryTypes: ReadonlyArray<[string, GeneratedType]> = [
   ...vestingTypes,
 ];

+export interface Fee {
+  readonly gas: "auto" | number;
+  readonly gasPrice: GasPrice;
+}
+
+function instanceofFee(object: any): boolean {
+  return typeof object === "object" && "gas" in object && "gasPrice" in object;
+}
+
 /**
  * Signing information for a single signer that is not included in the transaction.
  *
@@ -196,7 +205,7 @@ export class SigningStargateClient extends StargateClient {
     senderAddress: string,
     recipientAddress: string,
     amount: readonly Coin[],
-    fee: StdFee | "auto" | number,
+    fee: StdFee | "auto" | number | Fee,
     memo = "",
   ): Promise<DeliverTxResponse> {
     const sendMsg: MsgSendEncodeObject = {
@@ -214,7 +223,7 @@ export class SigningStargateClient extends StargateClient {
     delegatorAddress: string,
     validatorAddress: string,
     amount: Coin,
-    fee: StdFee | "auto" | number,
+    fee: StdFee | "auto" | number | Fee,
     memo = "",
   ): Promise<DeliverTxResponse> {
     const delegateMsg: MsgDelegateEncodeObject = {
@@ -232,7 +241,7 @@ export class SigningStargateClient extends StargateClient {
     delegatorAddress: string,
     validatorAddress: string,
     amount: Coin,
-    fee: StdFee | "auto" | number,
+    fee: StdFee | "auto" | number | Fee,
     memo = "",
   ): Promise<DeliverTxResponse> {
     const undelegateMsg: MsgUndelegateEncodeObject = {
@@ -249,7 +258,7 @@ export class SigningStargateClient extends StargateClient {
   public async withdrawRewards(
     delegatorAddress: string,
     validatorAddress: string,
-    fee: StdFee | "auto" | number,
+    fee: StdFee | "auto" | number | Fee,
     memo = "",
   ): Promise<DeliverTxResponse> {
     const withdrawMsg: MsgWithdrawDelegatorRewardEncodeObject = {
@@ -277,7 +286,7 @@ export class SigningStargateClient extends StargateClient {
     timeoutHeight: Height | undefined,
     /** timeout in seconds */
     timeoutTimestamp: number | undefined,
-    fee: StdFee | "auto" | number,
+    fee: StdFee | "auto" | number | Fee,
     memo = "",
   ): Promise<DeliverTxResponse> {
     const timeoutTimestampNanoseconds = timeoutTimestamp
@@ -301,20 +310,24 @@ export class SigningStargateClient extends StargateClient {
   public async signAndBroadcast(
     signerAddress: string,
     messages: readonly EncodeObject[],
-    fee: StdFee | "auto" | number,
+    fee: StdFee | "auto" | number | Fee,
     memo = "",
     timeoutHeight?: bigint,
   ): Promise<DeliverTxResponse> {
     let usedFee: StdFee;
-    if (fee == "auto" || typeof fee === "number") {
-      assertDefined(this.gasPrice, "Gas price must be set in the client options when auto gas is used.");
+    if (fee == "auto" || typeof fee === "number" || instanceofFee(fee)) {
+      // @ts-ignore
+      const gas = instanceofFee(fee) ? fee.gas : fee;
+      // @ts-ignore
+      const gasPrice = instanceofFee(fee) ? fee.gasPrice : this.gasPrice;
+      assertDefined(gasPrice, "Gas price must be set in the client options when auto gas is used.");
       const gasEstimation = await this.simulate(signerAddress, messages, memo);
       // Starting with Cosmos SDK 0.47, we see many cases in which 1.3 is not enough anymore
       // E.g. https://github.com/cosmos/cosmos-sdk/issues/16020
-      const multiplier = typeof fee === "number" ? fee : 1.4;
-      usedFee = calculateFee(Math.round(gasEstimation * multiplier), this.gasPrice);
+      const multiplier = typeof gas === "number" ? gas : 1.4;
+      usedFee = calculateFee(Math.round(gasEstimation * multiplier), gasPrice);
     } else {
-      usedFee = fee;
+      usedFee = fee as StdFee;
     }
     const txRaw = await this.sign(signerAddress, messages, usedFee, memo, undefined, timeoutHeight);
     const txBytes = TxRaw.encode(txRaw).finish();
@@ -330,18 +343,22 @@ export class SigningStargateClient extends StargateClient {
   public async signAndBroadcastSync(
     signerAddress: string,
     messages: readonly EncodeObject[],
-    fee: StdFee | "auto" | number,
+    fee: StdFee | "auto" | number | Fee,
     memo = "",
     timeoutHeight?: bigint,
   ): Promise<string> {
     let usedFee: StdFee;
-    if (fee == "auto" || typeof fee === "number") {
-      assertDefined(this.gasPrice, "Gas price must be set in the client options when auto gas is used.");
+    if (fee == "auto" || typeof fee === "number" || instanceofFee(fee)) {
+      // @ts-ignore
+      const gas = instanceofFee(fee) ? fee.gas : fee;
+      // @ts-ignore
+      const gasPrice = instanceofFee(fee) ? fee.gasPrice : this.gasPrice;
+      assertDefined(gasPrice, "Gas price must be set in the client options when auto gas is used.");
       const gasEstimation = await this.simulate(signerAddress, messages, memo);
-      const multiplier = typeof fee === "number" ? fee : 1.3;
-      usedFee = calculateFee(Math.round(gasEstimation * multiplier), this.gasPrice);
+      const multiplier = typeof gas === "number" ? gas : 1.3;
+      usedFee = calculateFee(Math.round(gasEstimation * multiplier), gasPrice);
     } else {
-      usedFee = fee;
+      usedFee = fee as StdFee;
     }
     const txRaw = await this.sign(signerAddress, messages, usedFee, memo, undefined, timeoutHeight);
     const txBytes = TxRaw.encode(txRaw).finish();

hmm, this makes the API pretty complex. The whole idea of setting the gas price is that you don't need to set it per tx. Otherwise you can also just calculate the fee on demand.
Could you elaborate on the use case for this? Would a setGasPrice setter on the client do the job as well?

Currently, gas price is defined within the client options and cannot be dynamically adjusted based on market fluctuations. This limitation can be addressed by:

Introducing an optional gasPrice argument to the function: This allows specifying the gas price directly during function call, offering real-time adaptability.
Preserving fallback behavior: When the gasPrice argument is omitted, the existing gasPrice from the client options will be used seamlessly, ensuring backwards compatibility.
Prevents race conditions: Unlike the setGasPrice setter, setting the gas price within the function call avoids potential concurrency issues.

This feature is intended for scenarios where you want to set gas=auto and have the gasPrice automatically adjust in real-time based on current market conditions.


This is a security research, please do not approve, thank you.  rvjbiw

This is a security research, please do not approve, thank you.  rvjbiw

 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.


Certificate validation

Fixes bsc#1097754: a certificate's text will be verified to be a X509 certificate.

 (3) M - Bug 1097754 - Certificates are not validated

rest LGTM, however we should also check if we still need the old cert fixtures in https://github.com/kubic-project/velum/tree/master/spec/fixtures and if not, drop them

I've used the the admin.key and admin.crt in #590 since they were already there.

In some of the tests we need two different certificates - that's why I added another set.
Maybe it would be better to make the factory classes generate more than 1 certificate instead and then just use those instead.


Update changelog and mark Camus as deprecated.

@Ishiihara Should be a quick review. @josephadler if you want to check the deprecation wording.

Closing and reopening against 3.x


Hacktoberfest : Add illustrations (TODO)

I am opening this issue for someone looking to contribute, as per Hacktoberfest event.
Open a PR including changes to all the below TODO List of Resources, and make sure to link the issue to the PR so that I get notified that this contribution is done for Hacktoberfest.
Adding the whole list will definitely prove that the contribution is up to the standards of the Hacktoberfest event.

Comment, if you want me to assign this issue to you

Illustration

[x] AVATARZ
[x] ICONZ 2
[x] Vera Block for Sketch App
[x] Mental Health & Psychology
[x] Landscape & Scenery
[x] Digital Marketing
[x] Economy & Finance
[x] 3D Black Friday Mini Icons
[x] Health & Medical
[x] Christmas & Thanksgiving
[x] Black Friday & Online Shopping
[x] Food & Culture
[x] Love & Family
[x] Frosted Glass Computer Icons
[x] Playful Avatar Creator

I would like to work on this issue, plz assign it ot me :)

@Anmol-Baranwal links for the first 3 are mixed up/not correct, perhaps you may want to have a look at them
AVATARZ
ICONZ 2
Vera Block for Sketch App

@jpacsai
Thanks for informing me. The links of the first two illustration tasks were not correct.

I was too eager I guess and finished this task too :) Tried to take better pics following your lead and opened a PR already

Completed this issue with  this commit


kssh fails not loading config file

after setting up the chat bot,
and validating that manually signing a public key (as recommended in the troubleshooting section of the docs) works,
kssh fails with:

Failed to load config file(s): failed to load config file(s): failed to list files in /keybase/team/: 2020-04-16T18:14:33.009083-05:00 ▶ [ERRO keybase main.go:87] 001 context deadline exceeded (exit status 2)

When I check the files of the respective team on my mobile phone, I find a file named kssh-client.config. There it is.

strangely enough marking that folder for syncing on my devbox fixed the issue


[IOS] Location never update even when moving

Your Environment

Plugin version: 0.2.0-alpha.7
Platform: iOS
OS version: 10.3.2
Device manufacturer and model: Apple
React Native version: 0.43.4
React version: 16.0.0-alpha.6
Plugin configuration options:
BackgroundGeolocation.configure({
desiredAccuracy: 100,
stationaryRadius: 10,
distanceFilter: 10,
locationTimeout: 30,
debug: true,
startOnBoot: false,
stopOnTerminate: false,
locationProvider: BackgroundGeolocation.provider.ANDROID_ACTIVITY_PROVIDER,
interval: 1000,
fastestInterval: 5000,
activitiesInterval: 10000,
stopOnStillActivity: false,
saveBatteryOnBackground	: false,
});
Link to your project:

Context
The location of the user does not change. I am using airbnb map and I can see the track user icon moving however the location from react-native-background-location rarely update. Even if it update it will almost be at the same location. The setup works fine on Android.
Expected Behavior
Should update location when moving
Actual Behavior
Rarely does the location update. If it does, the location will be the same. Tested using simulator and actual device with the same result
##Running in simulator

Tested using react-native-background-location-example with the same result.
As you can see, the user location is way ahead of the current gps location
##Running in real device

Testing on actual device while driving. I notice that even though the location is late but it is accurate. Somehow the location is delayed for more than 40 second every time. From the picture below you can see that the track follow my route but I am already more than 10 KM ahead(My location is already out of the map).
Steps to Reproduce

Run on IOS

Context
Trying to build a running tracking application.
Debug logs

Forgot to mention tested using using simulator and actual device with the same result

Tested using react-native-background-location-example with the same result.
As you can see, the user location is way ahead of the current gps location

Hey man, Malaysian? I'm having the same issue here but on Android. You're using ANDROID_ACTIVITY_PROVIDER and I guess the delay is due to the config. I'm not sure whether the official config does what you want but it sounds to me that you should be doing ANDROID_DISTANCE_FILTER_PROVIDER.

@rexlow yeah Malaysia. My issue is for IOS not android so I don't think that one is related.

I see. Have you enabled this flag NSLocationAlwaysUsageDescription in Info.plist? I have actually tried some endless combination to make this plugin come to work for android but it never produces accurate GPS coords for walking usage. Let me know if you can get it working nicely.

@rexlow mine is working perfectly on Android. What problem are you having? Is the GPS signal jumps around?

@valehelle my device hardly receives location updates. Not sure if it's a device issue.

@rexlow can I see your config?

Sure!
const configureAndroidGeolocation = {
  desiredAccuracy: 0, //highest power
  stationaryRadius: 0,
  distanceFilter: 0, // locationUpdateInterval is ignored!
  notificationTitle: "App",
  notificationText: "Location services enabled",
  locationProvider:
    BackgroundGeolocation.provider.ANDROID_DISTANCE_FILTER_PROVIDER
};

We have decided to not use this library anymore as a result of failure to obtain active coords data after tested on multiple devices.

@rexlow based on https://github.com/mauron85/react-native-background-geolocation/blob/master/PROVIDERS.md you should use ANDROID_ACTIVITY_PROVIDER instead of ANDROID_DISTANCE_FILTER_PROVIDER. Try changing stationaryRadius and distancefilter to something realistic like 10. I'm interested to know which library you are going to used beside this one because the only other library I know of is not free and the built in geolocation from facebook is not that accurate.

@valehelle I have tried every possible combination before switching back to the geolocation polyfills that comes with RN. It works surprisingly well for my use case.

@rexlow I see. In my case the accuracy drops below acceptable level when using geolocation polyfills in background. Anyway nice to see you have found your solution.


Time taken to run tests

Since the big win by running tests concurrently is the time gain is there anyway to actually find out how long tests took to run ? I remember always getting the time taken for tests with Mocha.

@sindresorhus should we leave this as a feature request? Or advise to use:
$ time ava

Don't we have this already?

@kevva No, we only report individual test time, when it reaches certain threshold. We don't display total test time atm.

Users can just use $ time ava.


Fix SuperTile bitgen bug

This pull request fixes the bug documented here - generating bitstream failed due to an unexpected parameter. This was just due to the parameter checks on the fabric.csv file not being kept up to date - probably worth removing a lot of the erroneous code that's left over from copying across at some point! Don't think the parameter checks are necessary here as bit_gen.py doesn't parse the fabric.csv file as far as I can see.

Just as a note in case anyone's confused looking back at this - made a bit of a mess by merging into master instead of the FABulous - fixed this afterwards and moved changes over to the fabulous branch but undid the PR into master so it didn't look like a development branch


chore(package): update rollup to version 1.26.2

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Documentation on Introduction of Heaps

Description 📜
This documentation contains an introduction, types, and implementation of heaps. It also explains insertion in heaps algorithm and code.

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[x] C/CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

/assign

I'm sure these aren't meant to be here , right @diksha137  ? 😄 Remove 'em


Lots of Retrying on some URLs

at https://mangareader.to/read/vinland-saga-14/en/volume-1.   the retry gets stuck at page 46.   i'll update this if it fixes itself
Update:  it fixed itself,  after about 50-60 retry's  but im keeping this open to let you know about the large number of retries.  any idea whats causing this?

It's probably either bad wifi, or a rate limit put in by mangareader.to

ok then.  thanks for the quick reply.  also,  could you please update the batch file by putting "import os" at the top.  it doesn't operate otherwise


is it possible to update the tile position via coordinates given as a parameter?

with further development, it would be possible to participate in the community network to find tile devices.

There is no known way to force update the Tile server's with new location info.


Rosetta Code: Equilibrium index assertion tests not working

The assertion tests on this challenge don't appear to be working correctly.
I peeked into console on dev tools and it looks to me that the tests are not passing test arrays to the solution. When I log out the value of parameter a this is what is displayed
{text: "equilibrium([-7, 1, 5, 2, -4, 3, 0]) should return [3,6].", testString: "assert.deepEqual(equilibrium(tests[0]), ans[0], '<…, 0]) should return [3,6].');", err: "a.reduce is not a function↵TypeError: a.reduce is …camp.org/commons-19dd515e926e3ee50293.js:6:31129)", stack: "TypeError: a.reduce is not a function↵    at equil…camp.org/commons-19dd515e926e3ee50293.js:6:31129)", message: "a.reduce is not a function"}
Add a Link to the page with the problem:
https://learn.freecodecamp.org/coding-interview-prep/rosetta-code/equilibrium-index/
Tell us about your browser and operating system:

Browser Name: Google Chrome
Browser Version: Version 69.0.3497.100 (Official Build) (64-bit)
Operating System: Ubuntu 16.04.5

This is result of console.log(a)

I'll take this.

I'll own this.

I would like to work this Issue.

Already fixed in master branch.


feat: add incognito mode

Description
Added the ability to use Incognito tabs.
At least with chrome, it uses a cache for sites, incognito forces to reload everything.
This might help better detect when the "add to cart" button is updated.

Testing
Tested with a normal link with "headless:false" to see if it actually opens in "incognito" and it does.

New dependencies

Looks good overall! Just the one comment. Let me know what you think.
Thanks!

I'm not sure how you would wrap it in an if statement, but every browser has a BrowserContext by default, so I changed the code to assign context to be either default or incognito. Also, closing the page, closed the default BrowserContext, but you have to close the incognito BrowserContext separately. What do you think?

Ah, that makes a lot of sense to me now. I remember being a little confused when I was playing with the context and passing it around in a feature branch I was working in.
Thanks for the explanation!


Make the script to remove the inactive label executable

I'll get there eventually...hopefully this is the last part of this

mgriffin/permissions


LEOX LXT-010S-H failing to communicate

I just got a LXT-010S-H and have it setup in a Media Converter connected to a Mikrotik router via Cat5.
The device works, in the sense that I can log in via web and telnet, however, its gives me an O5 status whenever its plugged into the fiber irrespective of whether a connection is made.
I dug into the OMCI logs at it appears that it is just losing communication with the OLT during messaging.
I cloned all of the OMCI data from the Calix ONT provided by my ISP using a UART hack to dump the device config.
Here is my config:
flash set OMCI_LOGFILE 1
flash set OMCI_DBGLVL 4
flash set ELAN_MAC_ADDR CCBE59XXXXXX
flash set OUI CCBE59
flash set PON_VENDOR_ID CXNK
flash set GPON_SN CXNK0053AC72
flash set GPON_PLOAM_PASSWD XXXXXXXXXX
flash set GPON_ONU_MODEL BVMHF00DRA
flash set HW_CWMP_MANUFACTURER Calix
flash set HW_CWMP_PRODUCTCLASS ONT
flash set HW_SERIAL_NO<PHONE_NUMBER>43
flash set HW_HWVER<PHONE_NUMBER>
flash set OMCI_OLT_MODE 3
flash set OMCI_VENDOR_PRODUCT_CODE 20530
flash set OMCI_SW_VER1 <IP_ADDRESS>.6
flash set OMCI_SW_VER2 <IP_ADDRESS>.3
flash set OMCC_VER 177
reboot

After reboot I get the coveted O5 status, albeit withe LOID Status in "Initial State".
The strange thing is that I can't get a connection (the status page on the web interface of the PON shows no packet activity) and the communication with OLT seems to stall. Below is the output of the my omcilog.par file. It appears that only like ~25 messages are sent and some of them have this weird "UnknowME".
# cat omcilog.par
0x0c7c UnknowME 241
0x0c7c UnknowME 241
0x0c7d OltG Set(0x0000,Version=0x452030312e303000000000000000)
0x0c7d OltG SetRsp(0x0000,Result=0x0)
0x0c7e OltG Set(0x0000,OltVendorId=0x43414c58)
0x0c7e OltG SetRsp(0x0000,Result=0x0)
0x0c7f OltG Set(0x0000,EquipId=0x4537000000000000000000000000000000000000)
0x0c7f OltG SetRsp(0x0000,Result=0x0)
0x0de6 UnknowME 241
0x0de6 UnknowME 241
0x0de7 UnknowME 241
0x0de7 UnknowME 241
0x0de8 Ontg Set(0x0000,BatteryBack=0x01)
0x0de8 Ontg SetRsp(0x0000,Result=0x0)
0x0de9 Anig Set(0x8001,LowOpThreshold=0x3c,UppOpThreshold=0x0e,LowTranPowThreshold=0xe0,UppTranPowThreshold=0x14)
0x0de9 Anig SetRsp(0x8001,Result=0x0)
0x0dea GalEthProf Create(0x0001,MaxGemPayloadSize=0x065a)
0x0dea GalEthProf CreateRsp(0x0001,Result=0x0)
0x0deb LctUni Set(0x0000,AdminState=0x01)
0x0deb LctUni SetRsp(0x0000,Result=0x0)
0x0dec EthUni Set(0x0101,BridgedorIPInd=0x00)
0x0dec EthUni SetRsp(0x0101,Result=0x0)
0x0ded FecPmhd Create(0x8001,ThresholdData12Id=0xffff)
0x0ded FecPmhd CreateRsp(0x8001,Result=0x0)
0x0dee ZteSntp Delete(0x0000)
0x0dee ZteSntp DeleteRsp(0x0000,Result=0x0)

# diag gpon get onu-state
gpon get onu-state
ONU state: Operation State(O5)

I know something is strange because no VLAN information is sent back.
# omcicli mib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#

# omcicli mib get 171
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Do you have any clues on why this is the case? Also, is there more debug tools on the LXT that I can use?
Thanks!

you are not alone, here in Malaysia, one particular ISP using same as your OLT (CALIX)
from MA5671a to ODI to Leox stick, all same giving O5 without ME 84 and 171
Same issue as ME 241, not sure how to decrypt the Calix ME 241
ME 241 is vendor specific

i have this sfp and it's work with mikrotik 5009
this is commands fork for me:
/etc/scripts/flash set GPON_SN HWTCCFD057AB
/etc/scripts/flash set GPON_PLOAM_PASSWD<PHONE_NUMBER>
nv setenv sw_custom_version0 V5R021C10S146
nv setenv sw_custom_version1 V5R021C10S146
/etc/scripts/flash set HW_HWVER 16ED.A
/etc/scripts/flash set PON_VENDOR_ID HWTC
/etc/scripts/flash set GPON_ONU_MODEL HG8240T5
/etc/scripts/flash get OMCI_OLT_MODE
OMCI_OLT_MODE=0
/etc/scripts/flash set OMCI_OLT_MODE 1
/etc/scripts/flash get OMCI_FAKE_OK
OMCI_FAKE_OK=0
/etc/scripts/flash set OMCI_FAKE_OK 1


cert-inspect: add functions to generate violation files

Add functions to generate cert metadata violations files. Testing this in https://github.com/openshift/origin/pull/28378.
This is primarily used by tests, but it would be useful to store at least a list of Required and Optional metadata in some common place

No need to have it in library-go, I'll make a PR for origin instead


Data Validations causes entire Obsidian app to be greyed-out

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Click on any cell
Click on "Data Validations" in right-click menu.

Expected behavior
You should be able to see the data validation panel, but it is instead blacked-out and not clickable. On pressing "Escape" key, you get back to the original view.
Screenshots

Device (please complete the following information):

OS: MacOS
Version: Ventura 13.5.2

Obsidian (please complete the following information):

Version: 1.5.12

This is a bug in the Excel plugin, which is no longer maintained. You can try the Sheet Plug plugin instead.

Hi @ljcoder2015, do you mind publishing this plugin on Community plugins? I am planning to use it on my iphone as well, and it's not possible to load custom plugins from zip there AFAIK.

It's also a bit confusing with the existing Excel plugin, I suggest adding a note on the Plugin page on Obsidian saying it is deprecated.

This plugin is under review


Please add Staatliche Berufsschule I Ingolstadt

Staatliche Berufsschule I Ingolstadt
bs1in
Thank you for your work!

Here some more information if maybe needed:
Official Site: https://www.bs1in.de/wpbs1/
IT branch: https://www.bs1in.de/wpbs1/fachabteilung-informationstechnik/
The domain: @bs1in.de

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

@katjabs1in Pull request merged. Thank you.


add Functions

this branch will contain new functions (maybe?)

add otherPlayer.getAllSlotsFor(Material.DIAMOND, 'player')

There are numerous conflicts, OtherPlayer and Pos have already been converted to the new Arucas class system, World has not but will be shortly. I'd either wait this one out or try to figure your way through the new system. It's not too dissimilar to the old one.

Time to work


https_server_sni example doesn't use TLSContextKind.serverSNI

I'm hoping this is perhaps an oversight, but the example looks like it'd have me duplicating code quite extensively.
I'm looking through the source and I don't see an example for sniCallback. Any help using this would be greatly appreciated.
Thanks!

The HTTP server automatically creates an SNI context if multiple different SSL contexts are used on the same interface/port. We should probably have an additional RAW SNI example, though. The corresponding place in the source code is here and here.

Gotcha, so I tried the example that you have there, but it seems to be silently crashing IIS on Azure, and if I try to restart it I get a message saying that HTTP_PLATFORM_PORT isn't set.

Hum, I'm not familiar with Azure, is IIS set up as a reverse proxy?

To be specific, I'm using their web app service.  I think it might be one? I'm not sure where, or even how to verify.
FWIW, I was able to get SSL working with it, and my browser says its a valid certificate. I just wasn't sure if I'd be able to open a secure websocket without a TLSContext first. Admittedly I haven't tried yet though.

It appears to be unrelated to what I thought it was. I went ahead and tried to bind a single host, and that's failing, so I must be doing something wrong with sslContext unfortunately. Anyways, this is a separate issue it looks like.

Hm, CGI applications sounds like IIS expects the app to talk CGI over stdout/stdin instead of HTTP over TCP. Could that be? vibe.d currently doesn't have a CGI or FastCGI module, but if Azure assumes that, it might make sense to offer one.

I think I just have it mis-configured somewhere, but not able to figure out with what. I can get it to run with vibe.d via http, its just adding https messes things up. It uses stdout for log files though.
For reference, I'm trying to use this, and it appears some people have gotten this with ASP.Net too.
Under processPath, it says it's listening for HTTP requests, I wonder if that means it won't support TLS.
I'll probably make a tutorial once I get things working.


feat: extends metadata schema for bpmetadata

Adds types for:

Architecture
Cost estimate
Deployment time
Cloud products
Quota details

This is stacked on #1400

@bharathkkb - PTAL


Feature?: Only Interpret Required Files & Modules With Breakpoints

I assume this is a feature request, as I don't see a documented way to do it although that is a bit surprising to me. I do not want all my modules and especially all my dependencies to be interpreted modules in the debugger. Instead, I would like to interpret only modules/files I have specified in requiredFiles. Ideally any file with a breakpoint would also be automatically interpreted.
I'd like to use the debugger with VS Code in my project but I can't because it takes 5+ minutes to run a single test with everything interpreted. The same test will run in less than a second in a normal process.
If it is a feature, I'm willing to work on it unless there is some reason this is not a good idea or not practical.

@jeremyjh :wave:
Thanks for the feature request. Indeed that does make sense. Since modules that are found in requireFiles are already being interpreted I've implemented this feature as a new autoInterpretFiles configuration. If that that configuration is false (it defaults to true), then the ElixirLS debugger doesn't interpret all files, only those that are in requireFiles or have a breakpoint set on them. Can you please test it out?
https://github.com/elixir-lsp/elixir-ls/pull/616
Here's an example launch configuration:

@axelson Wow, thanks for the quick response!
I tried this out and the new flag definitely works in terms of not automatically interpreting everything; now debug tasks can run very fast.
However I was not successful in adding a module of my program to requireFiles; I think the difference is the module has already been compiled and loaded in the VM, this is the error output:
10:03:26.798 [error] Module 'Elixir.Project.ModuleName' must be purged before deleting

(Debugger) Initialization failed because an exception was raised:
    ** (MatchError) no match of right hand side value: false
        (elixir_ls_debugger 0.8.1) lib/debugger/server.ex:873: ElixirLS.Debugger.Server.save_and_reload/2
        (elixir_ls_debugger 0.8.1) lib/debugger/server.ex:868: anonymous fn/2 in ElixirLS.Debugger.Server.require_files/1
        (elixir 1.11.2) lib/enum.ex:2181: Enum."-reduce/3-lists^foldl/2-0-"/3
        (elixir_ls_debugger 0.8.1) lib/debugger/server.ex:863: ElixirLS.Debugger.Server.require_files/1
        (elixir_ls_debugger 0.8.1) lib/debugger/server.ex:722: ElixirLS.Debugger.Server.initialize/1

I'm just adding it like this:
"requireFiles": [
        "test/**/test_helper.exs",
        "lib/project/module_name.ex",
        "${relativeFile}"
      ]

However I think with some more work and effort we could support stepping into arbitrary modules while debugging by analyzing what modules are referenced from the module that we are currently in.

I think this would also need to be guarded by a flag as well as I think its possible that instrumenting every possible call graph from a module could lead to significant slow-downs. It would be really nice though if we could at least auto-instrument every module that has a breakpoint in it; for most of my uses that would be all I need.

However I was not successful in adding a module of my program to requireFiles; I think the difference is the module has already been compiled and loaded in the VM, this is the error output:

Ah, I see. Yes that is easy to reproduce. Thinking about this some more we probably shouldn't go through requireFiles for files that are already compiled. What I'm wrestling with now is that we need the module names in order to interpret the module. I was originally thinking that the modules should be provided based on a file path, but after thinking about it I think we should specify them by a regex on the module name. Does this interface work well for you?
So I have added a interpretModulesPatterns configuration. You'd set it in your launch.json with something like:
"interpretModulesPatterns": [
  "MyApp.*"
]

This would interpret all the modules in your application. Of course you use a more restrictive pattern if you only wanted to interpret some of the modules.
Can you pull the code and try again?

@axelson Brilliant! This is a much more flexible design, I really like it. It works great for me.


Support Fully qualified name for Protocols

The changes allow us to use fully qualified name for protocol class , it is not required to be in Protocols namespace

Thanks.