Request for Documentation: Option to build a Vue Design System upon Vuetify/existing framework

Thank you for this brilliant Vue Design System.
Being keen to create a Design System upon modification of Vuetify components, I followed this thread to gain an understanding as to whether it was possible/how to achieve it: https://github.com/viljamis/vue-design-system/issues/102
After a few hours of tinkering, it became clear that Vuetify could be implemented exceedingly easily within the Design System by modifying:

docs/docs.helper.js (to wrap the documentation)

/**
 * This is Vue Design System’s JS helper file for docs.
 * You can add more things if/when needed.
 */
import Vue from 'vue';
import Vuetify from 'vuetify';
import statusLabels from './utils/statusLabels';
import activeNav from './utils/activeNav';
import filterSearch from './utils/filterSearch';
import 'codemirror/mode/jsx/jsx';
import 'vuetify/dist/vuetify.min.css';

Vue.config.productionTip = false;
Vue.mixin(statusLabels);
Vue.use(Vuetify, {
  theme: {
    primary: '#5656ca',
    secondary: '#424242',
    accent: '#82B1FF',
    error: '#FF5252',
    info: '#2196F3',
    success: '#4CAF50',
    warning: '#FFC107',
  },
});

document.addEventListener('DOMContentLoaded', () => {
  filterSearch.methods.init();
  activeNav.methods.init();
});

window.addEventListener('hashchange', () => {
  filterSearch.methods.init();
  activeNav.methods.init();
});

src/main.js (to wrap template)

// Vue Design System: The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from '@/App';
import router from '@/router';
import Meta from 'vue-meta';
import Vuetify from 'vuetify';
import 'vuetify/dist/vuetify.min.css';

// Vue Design System: Auto importing components globally
import DesignSystem from '@/system';

Vue.use(Vuetify);
Vue.use(DesignSystem);
Vue.use(Meta);

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
});

I think this is quite a common issue and so documentation on supporting Vuetify will no doubt help save a lot of time for others interested in achieving something similar.
Thank you @viljamis for all your hard work on this brilliant project!

In addition to this, in order to complete the set up for Vuetify, Material Icons and Roboto Google font should be included as links in the header of both the docs.config.js and also the index.html like so:

config/docs.config.js

const path = require('path');
const baseConfig = require('../build/webpack.base.conf.js');
const merge = require('webpack-merge');
const packageConfig = require('../package.json');
const chalk = require('chalk');
const vueLoader = require('vue-loader');

module.exports = {
  /**
   * Name of your design system. Changes both page title and sidebar logo.
   */
  title: 'Vue Design System',
  /**
   * Most of the styles are defined in /docs/docs.styles.scss
   */
  version: packageConfig.version,
  theme: {
    maxWidth: '100%',
    sidebarWidth: 240,
    fontFamily: {
      base: ["'Roboto'", 'Helvetica', 'Arial', 'sans-serif'],
      monospace: ['Consolas', "'Liberation Mono'", 'Menlo', 'monospace'],
    },
  },
  renderRootJsx: path.join(__dirname, '../docs/components/Preview.js'),
  /**
   * Define a custom code highlighting theme.
   */
  editorConfig: {
    theme: 'night',
  },
  /**
   * Path to static assets directory
   */
  assetsDir: path.join(__dirname, '../src/assets'),
  /**
   * Enabling the below option will break things in Vue Design System!
   */
  skipComponentsWithoutExample: false,
  /**
   * We’re defining below JS and SCSS requires for the documentation.
   */
  require: [
    path.join(__dirname, '../docs/docs.helper.js'),
    path.join(__dirname, '../docs/docs.styles.scss'),
  ],
  /**
   * Enabling the following option splits sections into separate views.
   */
  pagePerSection: true,
  sections: [
    {
      name: 'Getting Started',
      content: '../docs/getting-started.md',
      // Needs to be loaded in somewhere as this is also shown in
      // element, Pattern & Template overviews.
      components: '../docs/components/status/**/[A-Z]*.vue',
      sectionDepth: 1,
      exampleMode: 'hide',
      usageMode: 'hide',
    },
    {
      name: 'Design Principles',
      content: '../docs/principles.md',
      sectionDepth: 1,
      exampleMode: 'hide',
      usageMode: 'hide',
    },
    {
      name: 'Voice & Tone',
      content: '../docs/voice-and-tone.md',
      sectionDepth: 1,
      exampleMode: 'hide',
      usageMode: 'hide',
    },
    {
      name: 'Design Tokens',
      content: '../docs/tokens.md',
      sectionDepth: 1,
      exampleMode: 'hide',
      usageMode: 'hide',
      components: () => [
        '../docs/components/tokens/Color.vue',
        '../docs/components/tokens/FontSize.vue',
        '../docs/components/tokens/Spacing.vue',
        '../docs/components/tokens/All.vue',
      ],
    },
    {
      name: 'Elements',
      content: '../docs/elements.md',
      components: '../src/elements/**/[A-Z]*.vue',
      exampleMode: 'expand',
      usageMode: 'expand',
      sectionDepth: 2,
    },
    {
      name: 'Patterns',
      content: '../docs/patterns.md',
      components: '../src/patterns/**/[A-Z]*.vue',
      exampleMode: 'expand',
      usageMode: 'expand',
      sectionDepth: 2,
    },
    {
      name: 'Templates',
      content: '../docs/templates.md',
      components: '../src/templates/**/[A-Z]*.vue',
      exampleMode: 'expand',
      usageMode: 'expand',
      sectionDepth: 2,
    },
    {
      name: 'Downloads',
      content: '../docs/downloads.md',
      exampleMode: 'hide',
      usageMode: 'hide',
      sectionDepth: 1,
    },
    {
      name: 'FAQ',
      content: '../docs/faq.md',
      exampleMode: 'hide',
      usageMode: 'hide',
      sectionDepth: 1,
    },
    {
      /**
       * Private components have to be loaded into the documentation as well,
       * otherwise anything using them will be broken. We’re loading them in
       * their own section, which then gets hidden in docs/docs.styles.scss
       */
      name: 'Private Components',
      exampleMode: 'hide',
      usageMode: 'hide',
      components: '../src/**/[_]*.vue',
    },
  ],
  /**
   * Custom wrapper template for the documentation.
   */
  template: {
    title: 'Example — Vue Design System',
    lang: 'en',
    trimWhitespace: true,
    head: {
      links: [
        {
          href:
            'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700',
          rel: 'stylesheet',
        },
        {
          href: 'https://fonts.googleapis.com/icon?family=Material+Icons',
          rel: 'stylesheet',
        },
      ],
      meta: [
        {
          name: 'viewport',
          content: 'width=device-width,initial-scale=1.0',
        },
        {
          name: 'format-detection',
          content: 'telephone=no',
        },
      ],
    },
  },
  /**
   * Ignore app.vue, tests, and example component.
   */
  ignore: [
    '**/App.vue',
    '**/__tests__/**',
    '**/*.test.js',
    '**/*.test.jsx',
    '**/*.spec.js',
    '**/*.spec.jsx',
    '**/ExampleComponent.vue',
  ],
  webpackConfig: merge(baseConfig, {
    module: {
      rules: [
        {
          test: /\.(css?|scss|sass)(\?.*)?$/,
          use: [
            'style-loader',
            'css-loader',
            'postcss-loader',
            'sass-loader',
            {
              loader: 'sass-resources-loader',
              options: {
                resources: [
                  path.join(__dirname, '../src/assets/tokens/tokens.scss'),
                  path.join(__dirname, '../src/assets/tokens/tokens.map.scss'),
                  path.join(__dirname, '../src/styles/styles.scss'),
                ],
              },
            },
          ],
        },
      ],
    },
  }),
  styleguideDir: '../dist/docs',
  printServerInstructions() {},
  printBuildInstructions(config) {
    console.log(
      chalk.cyan('\n  Design System Docs build finished succesfully!\n'),
    );
    console.log(
      chalk.yellow(
        '  Tip: You can now deploy the docs as a static website.\n' +
          '  Copy the build files from ' +
          `${config.styleguideDir}\n`,
      ),
    );
  },
  usageMode: 'expand',
  exampleMode: 'expand',
  styleguideDir: 'dist',
  ribbon: {
    text: 'Back to examples',
    url: 'https://vue-styleguidist.github.io/Examples.html',
  },
  /**
   * Configure docs server to redirect asset queries
   */
  // configureServer(app) {
  //   // `app` is the instance of the express server running the docs
  //   app.get("/assets/:file", (req, res) => {
  //     res.redirect(req.params.file)
  //   })
  // },
};

index.html

<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>Vue Design System</title>
    <link
            rel="stylesheet"
            href="https://fonts.googleapis.com/icon?family=Material+Icons"
    />
    <link
            href="https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,900,900i&display=swap"
            rel="stylesheet"
    />

And that should be everything needed to set up VDS with Vuetify 😊

@barclayd Thanks a lot for your guide and research on the topic!
So I want to add vuetify to my vue ds in order to display vuetify components in my design system, as my team uses a lot of those. When I add your code to my files from above, it fails to compile, because I haven't installed vuetify into my project. But when I do that, I can't because it's missing the /public/index.html
When I then just add that manually, I get a ton of errors in the node_modules packages for vuetify and even tho it does run, it doesn't display vuetify components correctly.
I think I'm overlooking something easy, but I can't figure it out. Any idea? :)

Hi @barclayd , it works perfectly for me, but I can't get the theme to load.
Do you have a repository with a functional example?
Thank you


Documentation of Filters used in DataMachine?

Is there some easily available documentation of the filters that you use inside DataMachine? Basically, what i'm interested in figuring out is things like :-

Do you have any filter on the minimum article/document length somewhere?
Do you remove the hidden categories from the system?
Do you expand the templates?
Do you filter out pages from namespaces other than 0 ("articles") and 14 ("categories")?
When queried for the categories of a page, do you recursively follow the path to the root and return the parents of directly mentioned categories as well, or just return the directly mentioned categories? For instance, an editor might have just put "Political System" as Category for a particular page, but "Political System" category might itself be a child of "Politics". So, will your system return just "Political System" here, or "Politics" as well?

If possible, please also tell me which files in the source code helped you figure out answers to these.
P.S. Posting it as an issue on Github since the corresponding Google Group seems to be inactive.

The mailing ist is not inactive, just a bit slow...
Closing this issue; see comments on mailing list.


Issue with connecting new terminal.

So.. i have lost my wireless terminal at some point..
but the issue is the when is try to set up the quantum link chamber, with a new singularity i dosnt work.
i have destoried the one that was in the champer, and replaced it.
I have build a whole new set og rings and champer and linked to a new wireless access point.
an ancher is connected.
The Power supply is connected to the side of a quantum ring.
Wireless terminal is fully charged
I have tried to search to see if you can like untangle the quantum network, but didnt find anything.
Thank you in advance :-)
I have but in a screenshot of the setup. (which is identical to the one before i lost the terminal).

did you put in a quantum bridge card in your new terminal?
it might also worth checking if you used the correct singularity, if they stack they are the same an should connect

I made a new singualarty with enderdust and tiny tnt.
And it is in the quantum slot :)

but did you make a new quantum bridge card too?

well.. i didnt have any inserted haha.
woops by bad :-)


finetune tune the model

How can I finetune the model in other language on custom dataset is there a code exmple?

Hi @Body123
Yes you can! For complete code of the reareach project take a look at this repository.
There is also an guide on how to fine tune this model for you data / language.


Delete benchmark/results/TEST-CORES/10/df_pandas_executor/32CORES dir…

…ectory
Overview
Describe the big picture of your changes here. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Changes
Describe the changes that your code introduces to FormS. Have you made corresponding tests and added the appropriate documentation for your changes? Do the commits pass the tests and follow the guidelines described here?
Example Output
Describe the expected behavior of your changes. If applicable, please include a screenshot.

close


unit test of TestCanonicalAddr()

team  number:4th

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

fixes #1640
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

 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.System Administrator seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Added username password to conf file, but still able to connect with different username password

I placed a file  /etc/emqttd/emq_auth_username.conf with username password
like this:
auth.user.1.username = admin
auth.user.1.password = public
But there is no effect on the broker. It is still allowing unauthenticated username password.
Also made allow_anonymous false in /etc/emqttd/emq.conf .

restart fixed the problem.

Hi,
Its still happening to me. Should i restart server ? or emq?
Whats the command


uwuify: 0.2.1 -> 0.2.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Daniel-Liu-c0deb0t/uwu/releases.
meta.description for uwuify is: "Fast text uwuifier"
meta.homepage for uwuify is: "https://github.com/Daniel-Liu-c0deb0t/uwu"
meta.changelog for uwuify is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/4jqqi4nydrymfsl4dz68drg9mjc0w98b-uwuify-0.2.2/bin/uwuify passed the binary check.

1 of 1 passed binary check by having a zero exit code.

0 of 1 passed binary check by having the new version present in output.

found 0.2.2 with grep in /nix/store/4jqqi4nydrymfsl4dz68drg9mjc0w98b-uwuify-0.2.2

found 0.2.2 in filename of file in /nix/store/4jqqi4nydrymfsl4dz68drg9mjc0w98b-uwuify-0.2.2

directory tree listing: https://gist.github.com/c58e37ee2fcc72ef59cd75fb41a15444

du listing: https://gist.github.com/aac12a6b164751edf70cc52613f52628

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
uwuify

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4jqqi4nydrymfsl4dz68drg9mjc0w98b-uwuify-0.2.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A uwuify https://github.com/r-ryantm/nixpkgs/archive/07ff3ea2da43cbf7e5d35662506c804a7f1a6362.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4jqqi4nydrymfsl4dz68drg9mjc0w98b-uwuify-0.2.2
ls -la /nix/store/4jqqi4nydrymfsl4dz68drg9mjc0w98b-uwuify-0.2.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

uwuify

Maintainer pings
cc @siraben for testing.

Result of nixpkgs-review pr 118565 at 07ff3ea2 run on aarch64-linux 1

1 package failed to build:

uwuify

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement.

Result of nixpkgs-review pr 118565 run on x86_64-linux 1

1 package built:

uwuify

aarch build is not a regression, but should be addressed at some point


Improve performance by using binary

This pull request is backwards incompatible, but by using binary's Get and a custom Builder, we can get an average 3-5x better performance, with some cases being 10x+. I don't know if this is a path you'd consider, but wanted to let you know about it.
We were experimenting with using protobuf instead of aeson for encoding one of our data types, and found that it was taking longer for both encoding and decoding. A simplified version of this data type is in bench/Nested.hs.
A quick change to use binary instead of cereal improved the decode speed, but neither Data.Binary.Put nor Data.Binary.Builder was that much faster.
Profiling revealed that encoding Messages was expensive, because we'd need to encode the message fully, calculate the length, and then write both. If we're using the Builder interface, with it's Monoid instance to build results, then we can memoize the length of the resulting ByteString during construction by using a type (Sum, Builder). Because every type we serialize in a protobuf either has a statically known length, or is length prefixed, this adds a minor amount of calculation in the worst case, but a nice improvement in the best case. A version of this builder is included under src/Data/Binary/Builder/Sized.hs
I've added benchmarks for this branch, with corresponding benchmarks for master in https://github.com/joshbohde/protobuf/tree/benchmark .  They include the Burst data type from #4, as well. Results run on my laptop are here: https://gist.github.com/joshbohde/2b7b763805ddb2c6bfd1. Here they are in a table:
benchmark              master    binary    pct change  throughput increase
burst/encoding/1       2.648 μs  520.7 ns  -80.34      4.09
burst/encoding/10      17.06 μs  2.995 μs  -82.44      4.7
burst/encoding/100     155.3 μs  26.99 μs  -82.62      4.75
burst/encoding/1000    1.702 ms  377.4 μs  -77.83      3.51
burst/decoding/1       3.501 μs  759.1 ns  -78.32      3.61
burst/decoding/10      22.46 μs  3.374 μs  -84.98      5.66
burst/decoding/100     191.3 μs  29.81 μs  -84.42      5.42
burst/decoding/1000    2.028 ms  414.0 μs  -79.59      3.9
nested/encoding/a1     26.53 μs  2.414 μs  -90.9       9.99
nested/encoding/a10    189.3 μs  14.50 μs  -92.34      12.06
nested/encoding/a100   1.660 ms  155.7 μs  -90.62      9.66
nested/encoding/a1000  15.82 ms  3.731 ms  -76.42      3.24
nested/encoding/b10    271.1 μs  20.49 μs  -92.44      12.23
nested/encoding/b100   2.524 ms  264.2 μs  -89.53      8.55
nested/encoding/b1000  25.74 ms  5.751 ms  -77.66      3.48
nested/decoding/a1     35.99 μs  1.011 μs  -97.19      34.6
nested/decoding/a10    244.2 μs  1.071 μs  -99.56      227.0
nested/decoding/a100   2.438 ms  1.079 μs  -99.96      2258.5
nested/decoding/a1000  24.89 ms  3.765 μs  -99.98      6609.89
nested/decoding/b10    353.8 μs  3.705 μs  -98.95      94.49
nested/decoding/b100   3.666 ms  29.94 μs  -99.18      121.4
nested/decoding/b1000  37.96 ms  446.8 μs  -98.82      83.96

I'm suspicious of some of these numbers, but can't find anything obviously wrong with the benchmarks.
Internally, we're seeing about a 100x speedup in decoding, and a 10x speedup in encoding of real data using this branch.

I'm just about to head out to Bayhac and I'll review the patch sometime today. I'd also like to see some heap profiles.
Back when we first started work on protobuf, binary was missing necessary functionality that cereal had, I think it was lacking an incremental parser. The last attempt (a year or two ago) at switching didn't show that much of performance difference, but they've been doing a lot more work on binary so I'm not surprised the decodes are magically faster.

Using the following code, modified for respective branch:
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
module Main where

import Data
import Nested
import qualified Data.ByteString as BS

writeBurst :: IO ()
writeBurst = do
  BS.writeFile "burst.pb" $ enc $ burst 1000000

readBurst :: IO ()
readBurst = do
  a <- BS.readFile "burst.pb"
  print $ decBurst a

writeNested :: IO ()
writeNested = do
  BS.writeFile "nested.pb" $ enc $ nested 100 1000

readNested :: IO ()
readNested = do
  a <- BS.readFile "nested.pb"
  print $ decNested a

main = readNested

Write Burst
** Master

** Binary

Read Burst
** Master

** Binary

Write Nested
** Master

** Binary

Read Nested
** Master

** Binary

Looks like an easy decision then eh? :+1: This is awesome.


Do Not Use Walkdir Crate

Do not use Walkdir crate and implement your own walk directory with the standard library.

git fetch origin
git checkout 1-do-not-use-walkdir-crate


invoices: add height based expiry watcher

This PR adds a height-based expiry watcher for hodl invoices which will cancel these invoices back before they expire. This prevents lnd from force-closing when an invoice is not released by its creator. Resolving these htlcs properly addresses two state machine issues we run into when a hodl invoice expires:

Fixes #4587 : clients can still settle hodl invoices which have expired (and can't be claimed)
Fixes #4987: when a hodl invoice with active htlcs expires and goes to chain, its htlcs remain in accepted state

Depends on #5205, ** do not review first 9 commits **
An alternative approach was explored in #5136, however there are multiple race issues that arise when the invoice registry does not drive changes in invoice state, so instead an expiry watcher which keeps control in the invoice registry was chosen.

One final question is, what happens when one of the invoice.Htlcs changes from HtlcStateAccepted to HtlcStateCanceled? Do we still use its expiry to cancel our invoice or should we update our expiry height?

So what could go wrong here, for example, is:

We add a htlc with height 100 to the expiry watcher for invoice x
We add another htlc with height 105 for invoice x
The htlc with expiry height 100 is canceled
When we reach height 100, we incorrectly expire the invoice because we think the htlc is still active, when we should only cancel at height 105

I looked into whether this can happen with our current htlc handling, and it turns out the only time that we release a single htlc is when we release due to MPP timeout. In this case, the invoice is still in an open state, so it won't have been added to the expiry watcher. Once all htlcs arrive for the invoice, it's moved into the accepted state, and the htlc set is finalized (we won't add a new set of htlcs with different expiry heights after this point, so we don't need to worry about our cancel height changing).
I've pushed a small update to only add to the height expiry watcher when we get a resultAccepted (1 /2) our invoice update, which indicates that we have accepted all htlcs for the invoice. This way we only add the expiry height to the queue once, and we can be certain that it is the correct expiry height for the invoice.
While we can update the expiry watcher to allow updating minimum height for an invoice, I don't think we need it right now. If our htlc handing changes, then we can come back and add invoice-awareness to the queue (also spent some time on this before I realized we don't really need it - it would look something like: track known invoices in map[paymentHash]expiryHeight, when we add a new htlc, remove previous entry from queue and re-add it).


Backend validation tests

Codecov Report

Merging #137 (ff48456) into main (805949c) will increase coverage by 0.46%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #137      +/-   ##
==========================================
+ Coverage   80.00%   80.46%   +0.46%
==========================================
  Files          10       10
  Lines         215      215
  Branches       18       18
==========================================
+ Hits          172      173       +1
+ Misses         39       38       -1
  Partials        4        4

Impacted Files
Coverage Δ

backend/controllers/admissions.js
73.80% <100.00%> (+1.19%)
:arrow_up:

Continue to review full report at Codecov.

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


Sumo Boy & Sumo Girl Sprig Game!

 About two people trying to run away from their enemies and find a place to profess their love!

How do you play your game? Use the W,A,S,D to move Sumo Boy and move I,J,K,L to move Sumo Girl. If you hit the enemy even once, you have to restart so don't go too fast! You then have to reach the green boxes and both players must be on top of the green boxes at the same time to progress to the next level!

Code
Check off the items that are true.

[ x] The game was made using the Sprig editor.
[ x] The game is placed in the in the /games directory.
[x ] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[ x] The game runs without errors.
[ x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x ] The game name is not the same as the others from gallery

Image (If an image is used)

[x ] The image is in the /games/img directory.
[x ] The name of the image matches the name of your file.

Thanks for your PR!

Closing this due to inactivity.  Feel free to re-open this PR if you want to advocate for its merge.


Better Clouds Compatibility

https://modrinth.com/mod/better-clouds
Better clouds is arguably the most tasteful cloud improvement mod, it would be nice to have compat with it. Plus, better clouds has DH compatibility. Unfortunately, I do forsee that if this is a thing coding localized sections of clouds could be pretty difficult, but not so sure how modular better clouds is.

Better Clouds does not have any way to add compatibility with other mods. Which is understandable considering the lack of weather mods out there anyway. The only way Better Clouds could be compatible with Enhanced Weather is if the author(s) of Better Clouds added compatibility with Enhanced Weather.

Oh, well I am a big fan of fabric, I actually enjoy that this mod uses it and is much better optimized and in depth than the alternatives. Also, you could just use mixins, right? When I want to add compatibility to a mod that does not provide APIs or anything, I just mixin into it. I do realize that this can be quite unstable and need patches a lot, but I mean if you mixin into a spot where you're fairly sure that it won't change in the future you should be good, right?

Using mixins is possible, however the code is not really built in mind to be expanded to another mod, plus I am highly unfamiliar with any of it's code as well which makes it more difficult to do it. In general, it's just something that doesn't really make any sense to add and doesn't really benefit the mod in any way.


Getting ER_ACCESS_DENIED_ERROR in Node but can connect successfully using command line mysql

The error I'm getting is:    Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password: YES)
I get this error using Scotbox VM (https://box.scotch.io/) same error in ScotchBox v3 and v3.5.
I'm actually using execsql, but this is just a wrapper for mysql. It's being called from a gulp script. This gulp script is fairly complex. Previously everything worked fine on Scotchbox v3, which was running Node v5. Since I've updated to Scotchbox v3.5, this comes with node v8.9, I've also updated all my npm packages and dependencies as they were well out of date. I've since tried the gulp script on scotchbox v3 after manually updating to Node 8.12, but I get the same result.
So I've concluded the issue is not with the VM, it's something to do with the version of node and/or package dependencies.
Here's what packages I'm using...
    "execsql": "0.0.3",
    "gulp": "^3.9.0",
    "gulp-autoprefixer": "^3.1.0",
    "gulp-bump": "^2.6.1",
    "gulp-clean-css": "^3.9.4",
    "gulp-concat": "^2.6.0",
    "gulp-insert": "^0.5.0",
    "gulp-jshint": "^2.0.0",
    "gulp-livereload": "^3.8.1",
    "gulp-minify-css": "^1.2.1",
    "gulp-notify": "^2.2.0",
    "gulp-rename": "^1.2.2",
    "gulp-sass": "^4.0.1",
    "gulp-strip-comments": "^2.4.3",
    "gulp-uglify": "^1.5.1",
    "mysql": "^2.16.0",
    "request": "^2.69.0",
    "run-sequence": "^1.2.2",
    "yargs": "^3.32.0"

And here's the relevant bit of my gulpfile...
    var connsettings = {
        host: 'localhost',
        user: 'root',
        password: 'root'
    };

    execsql.config(connsettings)
        .exec(sql,function(err){
            if(err) {
                console.log(err);
                execsql.end();
            } else {
                execsql.execFile(__dirname + '/db/structure.sql', function (err) {
                    if(err) console.log(err);
                    execsql.end();
                });
            }
        });

    });

If I enter "mysql -u root -p" into the command line I can connect just fine.
If I go back to an old version of this file, running on the same VM, but with Node v5 it works fine.

So here's a simpler example...
This works:
``

Here's a simpler example.
So this works...
var mysql      = require('mysql');
var connection = mysql.createConnection({
  host     : 'localhost',
  user     : 'root',
  password : 'root'
});

connection.connect(function(err) {
  if (err) {
    console.error('error connecting: ' + err.stack);
    return;
  }

  console.log('connected as id ' + connection.threadId);
});

But this doesnt....
    var execsql = require('execsql');

    var connsettings = {
        host: 'localhost',
        user: 'root',
        password: 'root'
    };

    execsql.config(connsettings)
        .exec('select NOW()',function(err){
            if(err) {
                console.log(err);
                execsql.end();
            } else {

            }
        });

So it looks like an issue with the execsql wrapper, but I can't see where becasue the code in execsql is the same as the mysql example above that works.
https://github.com/node-fun/execsql/blob/master/index.js
What am I missing here?

So I see you said that mysql -u root -p does work. By default that is likely using a UNIX socket to connect and not TCP. The user you are connecting to is likely setup to only allow UNIX socket connections and not TCP connections. Can you try the following command?
mysql -u root -h localhost -p

Closing due to no response.


Updates theme

Applies developer fix for reported bug

@Genyus what's the bug?

@tanyapowell the latest version of the Onepress theme used on the job board introduced a bug that broke the admin interface for multiple plugins, preventing any configuration changes from being saved


Github Branch Protection seems to cycle through two states at every push

Terraform Version
$ terraform -v
Terraform v0.10.7

Affected Resource(s)

github_branch_protection

Terraform Configuration Files
resource "github_branch_protection" "repo_name_master" {
  repository = "${github_repository.repo_name.name}"
  branch = "master"

  required_pull_request_reviews {
    dismiss_stale_reviews = true
    dismissal_teams = ["${github_team.team_name1.name}"]
    dismissal_users = []
  }

  restrictions {
    teams = ["${github_team.team_name1.name}", "${github_team.team_name2.name}"]
    users = ["${github_membership.membership_user.username}"]
  }
}

repo_name, team_name and user have been redacted for privacy reasons, but are valid and existing resources inside of our terraform stack.
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Expected Behavior
No changes. Infrastructure is up-to-date.
Actual Behavior
Cycles between the following actions:
Terraform will perform the following actions:

  ~ github_branch_protection.repo_name_master
      restrictions.0.users.#:          "0" => "1"
      restrictions.0.users.3330811490: "" => "membership_user"

Terraform will perform the following actions:

  ~ github_branch_protection.repo_name_master
      restrictions.0.teams.#:          "0" => "2"
      restrictions.0.teams.3998454083: "" => "team_name1"
      restrictions.0.teams.754948132:  "" => "team_name2"
      restrictions.0.users.#:          "0" => "1"
      restrictions.0.users.3330811490: "" => "membership_user"

Steps to Reproduce
Please list the steps required to reproduce the issue, for example:

terraform plan
terraform apply
terraform plan

Important Factoids
This has happened before and it was fixed by manually un-managing, re-importing the branch_protection, and changing the team names to be all lower-case (As I thought it was causing slug-name != team-name conflicts).

I saw something similar when I had mistakenly given it a team_id rather than a team_name I would guess that it does not do a good job validating the request on submission and github returns that is submitted the job but then it fails for reasons that may not be exposed to the terraform (http) client. It also could very easily be bad validation/verification on terraform's end as well I have not dun in close enough to determine.

After seeing this repeatedly, the issue steam from the fact that the team name is passed for branch protection, but the team slug-name is what is being returned by git, so it sees it as inconsistent and tries to update it. I am guessing that this is a bug?

Reproduced using this full config, thanks for the report.
I'm going to investigate further and see if/how we can fix this.

PR pending review in https://github.com/terraform-providers/terraform-provider-github/pull/136
Thanks for the patience.


Clear isSortable flag on destroy

Fix for issue #513

Coverage increased (+0.04%) to 78.0% when pulling ad1a35b35a6960b9eadbd4791751ce2f9e06739b on lachdoug:master into db874a19db8a8862ff63a85ff2c7600271ccdd15 on lukasoppermann:master.

Added fix for issue #514


Manage the CA list ourselves

Remove dependency on certifi - closes #8
Remove dependency on parse_trans's ct_expand transform (explicitly generate the code with hardcoded authorities instead) - closes #9
Ensure all modules share a single tls_certificate_check namespace (rather than tls_certificate_.)

cc: @paulo-ferraz-oliveira

Great work. This effectively removes, in a single pull request, parse_trans and certifi from all our internal dependencies.

You could suggest getting this into rebar3, right (open an Issue, maybe)? The only downside I see is the increase in file size, but that shouldn't be so much of an issue (?). It would, in one go:

drop parse_trans (I'm not sure it's used for anything other than certifi),
solve the "code path" issue introduced by rebar3 3.14.4.

You could suggest getting this into rebar3, right (open an Issue, maybe)?

I would be reluctant do it myself, since it could be interpreted as self-serving at best, and hostile at worst (hey there, drop that lib and use mine instead, eh.)
But I wouldn't be against others proposing it.

wink wink (we'll, I have an open pull request for certifi vendoring that I wouldn't mind dropping).


[angular/core] make DebugServices treeshakable (~10KB savings)

From @aitboudad on October 28, 2017 10:20

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Area
- [x] devkit
- [ ] schematics

Desired functionality

Uglify is not able to remove unused debug services bocause of condition: core.js#L13946 and replacing that condition with createProdServices() resulted in ~10KB savings
-- var /** @type {?} */ services = isDevMode() ? createDebugServices() : createProdServices();
++ var /** @type {?} */ services = createProdServices();

Copied from original issue: angular/devkit#244

I had a look at this and changing isDevMode() with ngDevMode will reduce an ng-new application size by 23Kb.
Is there any reason why we use isDevMode instead of ngDevMode? //cc @IgorMinar.
Transferring to the FW repo, since this is more of an @angular/core issue.


简单示例

请问您这个代码我应该怎么运行？

Load DIBCO-2011 Dataset and run the code

Can you elaborate how to run the code after Downloading DIBCO-2011, do we need to preprocess something?


Are these FOSS

Are these CSS styles redistributable and can they be used for your own use?

I've licensed them under the MIT license now, I'm probably going to change the comments on the CSS to indicate this.

I updated the comments with the licensing information.


How do i use PEX with EssentialsX

I recently switched from Essentials To EssentialsX, when i had Essentials i could use PEX just fine now that i have EssentialsX i can't use it when ever i make a prefix it doesn't apply to my name please help.

Essentials and EssentialsX use virtually the same exact config.yml file.  (As far as I'm aware, there is no difference at all.)
If you had prefixes programmed correctly in Essentials, that same config.yml file would work for EssentialsX.  (They both also use "Essentials" as the name of the plugin folder.)
And since you claim to have had prefixes programmed correctly in Essentials, you already know how to program prefixes correctly for EssentialsX.
Short Guide to Prefixes in Essentials/EssentialsX.

You're welcome.


Add Super Admin Functionality From Artisan

To ensure that the app is secure, create the add admin user functionality from an Artisan command.
For now, this will only add the user if there does not exist a user with the admin role, allow additions.

Completed in #c08ba6319c32b29ee47e5afae926dffc71ac654a


Y24-086 Tube Rack Defrosting Uploads

User story
As PSD, we would like to support Limber tube rack scan file uploads for existing tubes using the versioned tube rack model proposed in Reuse of TubeRacks document.
Who are the primary contacts for this story
Abdullah, Katy, Andrew
Who is the nominated tester for UAT
TBD
Acceptance criteria
To be considered successful the solution must allow:

[ ] User can upload 3-column tube rack scan file
[ ] Plate purpose can be different than the tube purposes
[ ] Validation of upload for existing tubes and a method for recovery from user error
[ ] Additional validation for active requests on tubes
[ ] Support for creation of a TubeRack using existing Tubes

Dependencies
This story is blocked by the following dependencies:

#1482

References
This story has a non-blocking relationship with:

#1388

Additional context
The versioned tube rack model is researched in DPL-1011 Re-use of tube racks and the model is summarised in the Google Document https://docs.google.com/document/d/1rvPXeCk5rBEf72VkchHCD2FRmWANboke2pln_Lt_j5U/edit?usp=sharing
This story is part of re-implementation of DPL-914 Create tube rack containing banked PBMC tubes https://github.com/sanger/limber/issues/1388

Similar to some other stories, I think that the only 'new' acceptance criteria here is "Support for creation of a TubeRack using existing Tubes"
I think the others are all implemented already (but need to make sure we retain the functionality).

Validation of active requests is a requirement of DPL-914. Tubes need a submission for cDNA Prep and it is done separately in Sequencescape. We will retain the existing functionality.


Clear dist only when the new files are ready

Current Behavior
When working with a monorepo or with linked package if your package was build and you have another bundler using the files in dist. If you either build or start the compilation it will start by deleting the content of dist which does not make bundler happy. In most cases you have to restart the bundler.
Example:
Let say you have two packages app is a create-react-app and b is using tsdx. app is using b.
You build the b package, then start working on app (react-scripts start in app). But then you need to change something in b so you change some file then build b (tsdx build in b) at that point react-scripts will crash because one file is missing and it will not recover even when the file are back. You have to restart app to make it work again.
Desired Behavior
When tsdx build is run, it would be nice if the dist folder was not cleared until the next build output is ready. This way react-scripts and other bundlers would not fail.
Suggested Solution
I guess it should be possible to build to a temp directory then move the files at the end.
Who does this impact? Who is this for?
People working with Monorepo or with linked packages.
Describe alternatives you've considered
Just restart the script when it fail but it's annoying...

Hmmm, looking at clean-webpack-plugin's code, this is actually somewhat involved -- it tracks the difference between previous output and current output and deletes stale output.
Maybe we can do something less involved by just deleting everything other than the current output.
Notably this doesn't fully work for certain features -- like setting useTsconfigDeclarationDir makes rpts2 pass the emit step to TS, meaning that declarations are created out-of-band and therefore not tracked by Rollup.
Existing plugins like rollup-plugin-delete (probably has the most options out of it, rollup-plugin-clean, rollup-plugin-cleaner) don't do any tracking and so aren't much different from what TSDX currently does.
You can also disable cleaning with --noClean if that helps

Um, I didn't knew about --noClean... Any reason it's not a default on watch command ?

I think that's more to do that this exists as a workaround for this issue, see #282 and #272
--noClean does create potential for there to be stale build artifacts left in your dist/ directory, e.g. assets that were later removed or changed.
That would mean, for instance, if you had a dev server serving those assets, they would continue to be served even after removal from the build, as the folder hadn't been cleared.

Closing this because the --noClean option works for my use case.


python312Packages.skyboxremote: init at 0.0.6

Module for controlling a sky box
https://pypi.org/project/skyboxremote/

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 362245

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.skyboxremote
python311Packages.skyboxremote.dist
python312Packages.skyboxremote
python312Packages.skyboxremote.dist


drivers/timers: Add weak_function for up_ function

Summary
so the user could replace the implementation if need
Impact
Can replace the default implementation
Testing
Pass CI

LGTM


Ibm object storage

Add a configuration option to use IBM Cloud Object Storage as Ark's backups destination.

Hi @roytman, thanks for your PR! We'll review this soon and get back to you with any feedback we may have.

@roytman we haven't forgotten about this! @Bradamant3 is busy at the moment with other things, but she'll hopefully be able to review starting this Wednesday. Thanks for your patience!

Hi Andy, thanks for the update. No problem, it can wait.

Hi Andy @ncdc, I updated the ibm-config.md according to the latest Ark v0.7.0 namespace policy.
P.S in the README.md the command
kubectl get deployments -l component=ark --namespace=heptio-ark
should be replaced by
kubectl get deployments -l component=ark --namespace=heptio-ark-server

My apologies! I thought that I had reviewed here, so sorry.
Docs LGTM, with additional apologies for merging a change that means you need to rebase :-(
I'd like to make a few copyedits, but let's get this PR merged first, and then I can ask @roytman to review my changes in a subsequent PR. My changes will be stylistic only, but it's always good to make sure I don't accidentally change technical meaning.

@roytman thanks for the info about the readme. We'll get that fixed. If you can rebase this PR, we'll merge it asap.

@roytman it looks like you're having git issues? Need any help?

@ncdc thanks for the help suggestion. The PR was rebased.

Hi @ncdc, thanks for the comments. I updated the file.

LGTM. Please squash & I'll merge. Thanks!

Done


Calculation of power flow values on lines

In the example file case14_rate_0.m power flow values on the lines are represented as NaN.

Updated the rule for identifying the BaseMVA in the input file - A bug was introduced due to some previous code change.


change mode option changes empties the editor

Hi,
Thanks for package.
On loading the page, editor shows the message, on clicking view source, make some changes(eg adding bold),again returning to editor empties the message,
import Jodit  from 'jodit';
import 'jodit/build/jodit.min.css';
import JoditEditor from "jodit-react";
class AddEmail extends React.PureComponent {
  constructor(props) {
    super(props);
     this.state={
       emailbody:`
          <!DOCTYPE html>

    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

Test Content

       `
   }
}
handleChange = (value)=>{
  this.setState({emailbody: value })
}
render(){
  return (
        <JoditEditor
              value={this.state.emailbody}
              //config={this.state.config}
              onChange={this.handleChange}
            />

 )
}
}

Hi, @sowmiyaseshadriii how you solve these issues? I got same problem. thanks

I am having the same issue. Can anyone please help me how to fix this issue? @farsi-losa @sowmiyaseshadriii


[BACKLOG-14131] Solved - Cancel button when prompted for save doesn't…

… cancel the operation

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -DrunITs=true -f plugins/repositories-plugin/repositories-plugin-core/pom.xml clean install && mvn -B -f plugins/repositories-plugin/repositories-plugin-core/pom.xml site

Cleanup Commands
mvn -B -f plugins/repositories-plugin/repositories-plugin-core/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/repositories-plugin/repositories-plugin-core/src/main/java/org/pentaho/di/ui/repo/RepositoryConnectMenu.java
  plugins/repositories-plugin/repositories-plugin-core/src/main/java/org/pentaho/di/ui/repo/RepositoryOpenRecentFileExtensionPoint.java
  ui/src/org/pentaho/di/ui/spoon/Spoon.java
  ui/test-src/org/pentaho/di/ui/spoon/SpoonTest.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.ui.repo.MetaStoreSessionTimeoutHandler

Complexity Change: -100.00%:small_red_triangle_down:
Instruction Change: -76.92%:small_red_triangle_down:
Line Change: -85.71%:small_red_triangle_down:
Method Change: -100.00%:small_red_triangle_down:

org.pentaho.di.ui.repo.RepositoryConnectController

Branch Change: -50.00%:small_red_triangle_down:
Complexity Change: -44.87%:small_red_triangle_down:
Instruction Change: -62.32%:small_red_triangle_down:
Line Change: -65.74%:small_red_triangle_down:
Method Change: -58.70%:small_red_triangle_down:

org.pentaho.di.ui.repo.RepositoryServiceSessionTimeoutHandler

Complexity Change: -100.00%:small_red_triangle_down:
Instruction Change: -76.92%:small_red_triangle_down:
Line Change: -85.71%:small_red_triangle_down:
Method Change: -100.00%:small_red_triangle_down:

org.pentaho.di.ui.repo.RepositorySessionTimeoutHandler

Complexity Change: -40.00%:small_red_triangle_down:
Instruction Change: -36.89%:small_red_triangle_down:
Line Change: -37.04%:small_red_triangle_down:
Method Change: -66.67%:small_red_triangle_down:

org.pentaho.di.ui.repo.SessionTimeoutHandler

Branch Change: -22.73%:small_red_triangle_down:
Complexity Change: -16.67%:small_red_triangle_down:
Instruction Change: -42.35%:small_red_triangle_down:
Line Change: -42.86%:small_red_triangle_down:
Method Change: -42.86%:small_red_triangle_down:


Serving Fasta

Extracts the fasta from the nexus file and saves it in the .data folder
Serves the fasta to the vision results components

Relates to this PR in the vision repo.
(Note: there's some issues when yarn linking hyphy-vision such as the navbar dropdown sometimes not working; I'm not sure why this is, but as we will only occasionally be using yarn link and only for development I didn't spend a ton of time looking into it)

@stephenshank this is ready for your review.


Board does not insert the "order" query parameter when sorting

On the "historic" page, clicking on column titles only insert the "sort" query parameter (with "asc" or "desc" value).
Without inserting the "order" parameter to select the actual field to sort, this is kind of useless :)

Thanks for your report. It will fix on next release.
I notice you with the version number :).

it will fix on octo-board 2.6.0 version. I notify you when 2.6.0 it include in octo release :)

Octo version 1.3.0 was release and fix this issue.


[Bug]: Small padding adjustment | padding-left on text area and text input inconsistent

Describe the bug
Can see on storybook. Padding left inside text input is 8px, padding left inside text area is 12px.
This means that when stacking those fields vertically, they are misaligned.

As per the design spec, the padding should be 12px on both.
To Reproduce
Stack the text input and text area and put text in each input, you will see the different spacing.
Easy example to see here, in Basic form:
https://abgov-ui-react.netlify.app/
Acceptance Criteria:

Left padding inside text box should be 12px

Merged

:tada: This issue has been resolved in version 4.12.2 :tada:
The release is available on:

npm package (@BUGFIX dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.12.2 :tada:
The release is available on:

npm package (@BUGFIX dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.0.0-alpha.174 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-alpha.211 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.4.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.13.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.5.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.13.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Exception Thrown When Viewing Itinerary in Admin

I got this error InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first. when trying to view an itinerary from the dev system.

and the relevant part of the stack trace:

Looks like something in the data might be throwing off our quite complex query to build up the view model. I've tried a few scenarios locally and I can't get this to blow up in the same way.
@tonysurma - I tried to access the Db in Azure but I'll need my latest IP added to the firewall rules. I'd like to have a look over the data to see if that points to the cause.

Update: found the code causing the break and reviewing the best solution. I think it's not an issue locally as my database is accepting multiple active record sets. I'll hopefully have time to finalise the solution in the next few days.

@tonysurma This issue is caused by EF trying to read multiple datasets at the same time, which happens in our query to build up the admin itinerary model. This doesn't occur locally as we enable Multiple Active Result Sets (MARS) on the connstring.
We have a couple of options. 1) We add MultipleActiveResultsets=true to the end of the Azure connstring used for the test site (wherever that is defined). Or 2) We update the offending code. I do have some code that I believe fixes the problem, but it's a bit more verbose. If you see no issue using MARS then it might be best to update the connstring and see if that solves the problem? If you prefer we update the code also, I can finish off the fix and get a PR in.
Generally we shouldn't see cases where this is present, but depending on how we need to work with the ef query to shape the model it might crop up again. If we do decide not to use this in Azure, then I would propose we also update the dev connstring to not enable it, so we see issues during dev time.

@stevejgordon I added that to the connection string (I thought it was there already) and have stopped/started the site so it should be 'live'
Can you verify before we close this issue?
Thanks

Whoop! Looks good to me, I can access the itinerary details page now that was blowing up yesterday.


Allow loading of nested lazy RowVector

Followup of: https://github.com/facebookincubator/velox/pull/5140
For cases when we have nested lazies in row vector, we should load them appropriately when decoding, or calling loadedvector(). This PR addresses this loading for lazies in row type.
I'm not sure if its safe to mutate the RowVector when loading.

It seems fuzzer is SIGSEGVing, I will investigate

It seems fuzzer is SIGSEGVing, I will investigate

Any luck investigating this? please feel free to reach out to me if you need help.

@bikramSingh91 I investigated the SIGSEGV is due to children of RowVector being null in some cases. I added checks for that and it passes. Not sure if that behaviour is expected, but the fuzzer test passed.

@bikramSingh91  @mbasmanova  When is it safe to mutate a vector? I see that BaseVector provides an isWritable() API, so I assume in some cases we should not mutate a vector?

@bikramSingh91  updated


readme: create a readme to run e2e tests

Overview
Add a readme in e2e tests to be able to run starship tests.
Proposal

Section to add new test cases
How to test in gh-action
How to run locally

Closed by: #585


Fix get ticker by symbol

Thank you for your pull request. Fix all CI report problems please and I'll merge your request to the master branch.


[resolves #280] Update to arquillian-1.1.6.Final

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/172/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/173/
Test PASSed.


Added IntelAGENT website to showcase.

Motivation
(Write your motivation here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

Thanks!
btw you have some design issues on your homepage when dark mode has been turned on in the docs


5.713 crashes when switching to an Office365 account

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue
Expected behavior
Selecting an Office365 Outlook account opens normally.
Actual behavior
After upgrading to 5.713 from 5.706, K9 would crash when I tried switching from the pop mail account I had open before upgrading to the Office365 Outlook account. Additionally, turning on the Unified folder wouldn't show messages from the Outlook account.
I accidentally found a fix when checking the Outlook server name in the receiving mail settings, preparatory to trying a different mail client. Without changing or editing anything, hitting next started the check server settings script, which seemed to work, and now I can use the Outlook account normally. Perhaps force a refresh when booting the upgrade for the first time?
Steps to reproduce

Have a pre-existing Outlook Office365 account set up in K9 <5.713, as well as a pop account.
Prior to upgrading, be in the pop account.
Upgrade to 5.713 (I used F-Droid).
Open K9 and try to switch to the Outlook account.

Environment
K-9 Mail version: 5.713
Android version: 6.0.1 on a One Plus E1003 running OxygenOS 3.1.4
Account type (IMAP, POP3, WebDAV/Exchange): WebDAV/Exchange
Please take some time to retrieve logs and attach them here:

I wasn't able to reproduce this.
Do you remember which version of K-9 Mail you originally installed? 5.600? Or did you start with a 5.7xx beta version and upgraded that to 5.706 and finally to 5.713?

I started on this phone with 5.600 in April of last year, upgraded through the 5.7xx series as they were released on F-droid up to 5.706 (possibly 5.707, looking at release dates), then stopped checking for a few months until I made the jump to 5.713.

The log seems incomplete and doesn't contain any information about a crash. Please open a new issue if you're still running into this with the latest beta version. Make sure to include a debug log that captures the crash.


Cross compatibility between Pytorch native versions and Pytorch engines/apis

Question
Hello there,
I was wondering if there exists a document secifying the cross compatibility between Pytorch native versions and Pytorch engines/apis. I have not been able to found anything and in order to find it out I have been doing it by trial and error.
Thank you for your time,
Carlos

You can take a look at the PyTorch engine README document: https://github.com/awslabs/djl/blob/master/pytorch/pytorch-engine/README.md. There is only a single PyTorch version that matches each version of DJL. If you view this page at a version tag rather than the master branch, you can see what versions are supported by the various released versions of DJL.

You can take a look at the PyTorch engine README document: https://github.com/awslabs/djl/blob/master/pytorch/pytorch-engine/README.md. There is only a single PyTorch version that matches each version of DJL. If you view this page at a version tag rather than the master branch, you can see what versions are supported by the various released versions of DJL.

@carlosuc3m
The recommended way is to use DJL's bom to manage your dependencies: http://docs.djl.ai/bom/index.html
You can find the bom pom.xml file from maven central for each version: https://search.maven.org/artifact/ai.djl/bom/0.9.0/pom

@carlosuc3m Close this issue for now. If you have any more concerns about the versioning issue, please feel free to reopen!


Add Signal extension

Description
Allow user to add and open chat from signal.
Screencast
https://user-images.githubusercontent.com/5274536/166613055-69a2604f-8fcd-4a49-9541-f9a4a9382880.mov
Checklist

[✅ ] I read the extension guidelines
[✅ ] I read the documentation about publishing
[ ✅] I ran npm run build and tested this distribution build in Raycast
[ ✅] I checked that files in the assets folder are used by the extension itself
[ ✅] I checked that assets used by the README are placed outside of the metadata folder

Hi @leeraymond78 👋
I only have one thing, on a white background it's hard to see the signal image, is there a way for you to find another or make a dark version?

I'm looking forward to testing this extension again 🔥
Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.

Hi I have updated the icon, please check again, thank you.


Calendar accessibility fixes

Add all the calendar fixes recommended by DAC

@chrishanes i see no tests in this PR 💅


Add borer radii options and spacing tokens

Add spacing and border radii tokens
Figma Spacing

Closing as this was opened a while ago we can reopen when we revisit borer radii options and spacing tokens


dotnet (c#) bindings

I'm interested in using meow hash in c#.
Does a binding exist for dot net?

We don't really follow ports, so I couldn't say.  On this repository, we only keep the native C implementation.  There have been ports to many languages though, so you may be able to find a Meow 0.5 in C#.
When I finally get the time to finalize this distribution, we can certainly put a "link to ports" section on the readme, if people want to submit them.
- Casey


Error Pulling HDF5 file from S3 using HdfFileToFloatList

Description
Passing in a public URL for an HDF5 file to HdfFileToFloatList causes the following error:
ERROR [main] ERRORHANDLER Error from driver or included library: io.jhdf.exceptions.HdfException: Failed to open file '/vector/ANN/intfloat_e5_small_v2_100KV_10KQ/intfloat_e5-small-v2_100000.hdf5' . Is it a HDF5 file?
To Reproduce
Steps to reproduce the behavior:

Prerequisites

You will need an Astra DB to target, with its secure connect bundle and credentials (user/pass/token).
You will need to be able to run NB5 through docker.
You will need to download the vector workload attached to this issue as a reference at the end. (astra-vector-live-simplified.yaml)
You will need to modify the file to input the url of a public hdf5 file that can be curl downloaded.

Additional context

Passing in the hdf5 file locally works.
This is reproduced on Linux, with NB5's latest preview release 5.21.1-preview

Workload reference
scenarios:
  setup:
    drop: run tags='block:drop' labels='target:astra' threads===1 cycles===2
    schema: run tags='block:schema' labels='target:astra' threads===1 cycles===2
    rampup: run tags='block:rampup' labels='target:astra' threads=100 cycles=TEMPLATE(trainsize) errors=counter
  search:
    search_and_index: >-
      run alias=search_and_index tags='block:search_and_index,optype=select' labels='target:astra'
      cycles=3B errors=count,retry stride=100 striderate=17.5 threads=auto
params:
  driver: cqld4
  instrument: true

bindings:
  id: ToString()
  # This
  test_floatlist: HdfFileToFloatList("<S3 URL FOR HDF5 FILE>", "/test"); ToCqlVector();
  relevant_indices: HdfFileToIntArray("<S3 URL FOR HDF5 FILE>", "/neighbors")
  distance_floatlist: HdfFileToFloatList("<S3 URL FOR HDF5 FILE>", "/distance")
  train_floatlist: HdfFileToFloatList("<S3 URL FOR HDF5 FILE>", "/train"); ToCqlVector();

blocks:
  drop:
    params:
      cl: TEMPLATE(cl,LOCAL_QUORUM)
      prepared: false
      timeout: 10.0
    ops:
      drop_index: |
        DROP INDEX IF EXISTS TEMPLATE(keyspace,baselines).TEMPLATE(table,vectors);
      drop_table: |
        DROP TABLE IF EXISTS TEMPLATE(keyspace,baselines).TEMPLATE(table,vectors);
  schema:
    params:
      cl: TEMPLATE(cl,LOCAL_QUORUM)
      prepared: false
      timeout: 10.0
    ops:
      create_table: |
        CREATE TABLE IF NOT EXISTS TEMPLATE(keyspace,baselines).TEMPLATE(table,vectors) (
          key TEXT,
          value vector<float,384>,
          PRIMARY KEY (key)
        );
      create_sai_index: |
        CREATE CUSTOM INDEX IF NOT EXISTS ON TEMPLATE(keyspace,baselines).TEMPLATE(table,vectors) (value) USING 'StorageAttachedIndex'
        WITH OPTIONS = {'similarity_function' : 'TEMPLATE(similarity_function,cosine)'};

  rampup:
    params:
      cl: TEMPLATE(write_cl,LOCAL_QUORUM)
      prepared: true
      timeout: 10.0
    ops:
      insert: |
        INSERT INTO TEMPLATE(keyspace,baselines).TEMPLATE(table,vectors)
        (key, value) VALUES ({id},{train_floatlist});
  search_and_index:
    ops:
      select_ann_limit:
        prepared: |
          SELECT * FROM TEMPLATE(keyspace,baselines).TEMPLATE(table,vectors)
          ORDER BY value ANN OF {test_floatlist} LIMIT TEMPLATE(select_limit,100);
        tags:
          optype: select
        verifier-init: |
          relevancy=scriptingmetrics.newRelevancyMeasures(_parsed_op,"group","relevancy");
          for (int k in List.of(100)) {
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.recall("recall",k));
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.precision("precision",k));
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.F1("F1",k));
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.reciprocal_rank("RR",k));
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.average_precision("AP",k));
          }
          for (int k in List.of(1,2,3,5,10,25,50,75)) {
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.recall("s_recall",k));
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.precision("s_precision",k));
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.F1("s_F1",k));
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.reciprocal_rank("s_RR",k));
            relevancy.addFunction(io.nosqlbench.engine.extensions.computefunctions.RelevancyFunctions.average_precision("s_AP",k));
          }
        verifier: |
          // driver-specific function
          actual_indices=cql_utils.cqlStringColumnToIntArray("key",result);
          // driver-agnostic function
          relevancy.accept({relevant_indices},actual_indices);
          // because we are "verifying" although this needs to be reorganized
          return true;
      insert_rewrite:
        prepared: |
          INSERT INTO TEMPLATE(keyspace,baselines).TEMPLATE(table,vectors)
          (key, value) VALUES ({id},{train_floatlist});
        tags:
          optype: insert

the new caching mechanism isn't enabled by default, you have to add the --use-nbio-cache switch to your command line. Reproduced and verified to make sure this was the issue.  Also a couple of bug-fixes were added which make errors more obvious (like filesystem full for example). I'm going to close this because I think it has been addressed. Please let us know if you see anything else related.


split into producer/consumer

Hi,
Very nice application!
Here is just a thought: it would be nice to split it into a producer that dig up the info, then post it (as e.g json) via HTTP to an accompanying consumer that then talks to Postgres.
This way, you would restrict the amount of code that need to run on your production machine.
Hey, I might even implement it myself someday... ;-)
Cheers, Tobbe

Can't you achieve that by configuring your own callback module?

Aha...ok, I see what you mean now (been sidetracked a couple of months...).
I'll look into it.
Btw: what is the reason for the use of that supervisor3 module?

Btw: what is the reason for the use of that supervisor3 module?

I suspect the author was simply following a common in-house pattern when writing this. Off-hand I don't see why plain OTP supervisor wouldn't work here.

I've got something working now if anyone is interested.
It hardly affectes the existing code base at all, just some
stuff in system_monitor_sup.erl that shouldn't affect anyone.
I'm not quite ready to issue a merge-request yet but you can
read more about it here:
https://github.com/etnt/system_monitor/blob/master/CONSUMER_PRODUCER.md
Cheers, Tobbe

fyi: I've now also added a way to add custom metrics. See: https://github.com/etnt/system_monitor/blob/master/CUSTOM_METRICS.md


document why a Master Element should include junk data

From Tim's review:

Can you describe reasons someone might reasonably violate these SHOULDs? You've specified when they are allowed to, but not why. Is the "is permitted" case the only case in which it is permitted? If so, you should structure the normative language to make that clear. What does it mean for EBML to be "used in transmission or streaming"? If someone sends you an EBML document over HTTP, and you save it to disk, are you required to strip out any non-element data from Master Elements?

Referenced section is in the Master Element definition. I suggest working on the clarification branch since that also affects this area.

I think what we want to allow is that there be junk in the file, and players (consumers) should be able to deal with that. They should not be allowed to simply reject a file because there is junk in it. Why? Because both transmission and storage are prone to errors (e.g. media errors or lost packets during transmission).
Additionally a player should only be required to skip that data until it finds a valid element again (that's what players will do anyway already in order to be error resilient).
What I wouldn't want to allow is that applications creating EBML files (a producer) intentionally write junk.
Therefore we may have to spell out different requirements depending on the program's role (producer or consumer) in the definition of Master Element.

One man's junk is another man's treasure.
What type of junk are we talking about anyway ? EBML data from an unknown Doctype or data that don't appear like EBML at all ? In no case SHOULD the junk be removed from the file received, unless you're remuxing. It would screw up the parent element(s) size(s). If one really want to not store unknown data they can always void it (unless it's a single byte).

IMO this was resolved with https://github.com/Matroska-Org/ebml-specification/commit/2e01b6b6fab8fc30381b05bd9fbeac6ca233df02 and a few subsequent revisions to that paragraph. I'm going to close. Re-open if you disagree.


Parse doubly-encoded records

See https://github.com/satoshisstream/satoshis.stream/issues/22 and https://github.com/valcanobacon/BoostCLI/issues/4 for background.
If the podcast custom record is still encoded after decoding, give it a second round of decoding so that apps which mistakenly double-encode the record will still work with Helipad.

Fixed BoostCLI https://github.com/valcanobacon/BoostCLI/commit/2c30eeea2fbb9b1c455d543e9205bebe883e6e16

I’d rather just reach out to the sending tool’s author and let them know to fix it as in this case. Trying to anticipate all the possible ways that an HTLC can contain miscoded information seems like a rough go.

@daveajones well we're working on that already, per https://github.com/Podcastindex-org/helipad/issues/27#issuecomment-1026493253


support grfx::DESCRIPTOR_TYPE_STORAGE_BUFFER in DX11 and DX12

These are unimplemented, but would be useful for compute shader experiments.
DX12: https://github.com/google/bigwheels/blob/main/src/ppx/grfx/dx12/dx12_descriptor.cpp#L315
DX11: https://github.com/google/bigwheels/blob/main/src/ppx/grfx/dx11/dx11_descriptor.cpp#L260

I did some prototyping with this some while ago, but didn't finish the work.

Thanks for the suggestion! Looking at it, it sounds like it should be a fairly easy addition. In DX12, it's a call to CreateUnorderedAccessView.

My work in progress on the DX12 side had this partial change:
         case grfx::DESCRIPTOR_TYPE_STORAGE_BUFFER: {

           uint64_t sizeInBytes = (srcWrite.bufferRange == PPX_WHOLE_SIZE) ? srcWrite.pBuffer->GetSize() : srcWrite.bufferRange;

           D3D12_UNORDERED_ACCESS_VIEW_DESC desc  = {};

           // Assume a byte-addressable buffer:

           //    desc.Format = DXGI_FORMAT_R32_TYPELESS

           //    desc.Buffer.Flags = D3D12_BUFFER_UAV_FLAG_RAW

           desc.Format                          = DXGI_FORMAT_R32_TYPELESS;

           desc.ViewDimension                   = D3D12_UAV_DIMENSION_BUFFER;

           desc.Buffer.FirstElement             = srcWrite.bufferOffset;

           desc.Buffer.NumElements              = sizeInBytes;

           desc.Buffer.StructureByteStride      = 0;

           desc.Buffer.CounterOffsetInBytes     = 0;

           desc.Buffer.Flags                    = D3D12_BUFFER_UAV_FLAG_RAW;

           SIZE_T                      ptr    = heapOffset.descriptorHandle.ptr + static_cast<SIZE_T>(handleIncSizeCBVSRVUAV * srcWrite.arrayIndex);

           D3D12_CPU_DESCRIPTOR_HANDLE handle = D3D12_CPU_DESCRIPTOR_HANDLE{ptr};

           device->CreateUnorderedAccessView(ToApi(srcWrite.pBuffer)->GetDxResource(), nullptr, &desc, handle);

and the shader change was needed if I recall correctly:
--- a/assets/benchmarks/shaders/ComputeBufferIncrement.hlsl
+++ b/assets/benchmarks/shaders/ComputeBufferIncrement.hlsl
@@ -1,4 +1,4 @@
-RWByteAddressBuffer buf : register(u0, space0);
+RWStructuredBuffer buf : register(u0);

This is made harder by the fact that the application expects to be able to upload data to the buffer from the CPU, which is not possible in D3D12. Some rework around buffer uploading capabilities/expectations is in order to make sure applications understand what is and what is not possible.


Along with a comparison chart, a page listing of Lily's features

Another recommendation from the 1.3 release thread on reddit. The idea is to pitch the language as a combination of features not present in other languages, versus one that's about a new approach to existing problems. Think "tutorial", but explaining what's available instead of how to use it, and limited to a single page.

Closing this as part of the gitlab migration: https://gitlab.com/FascinatedBox/lily/issues/360


performance

Appreciate the python wrapper, nice work.
I am curious if there is a configuration that would improve performance.
When I invoke ./dark-net detect demo /foo/video.mp4 my setup gets around ~20 fps using yolov3-tiny.cfg and yolov3-tiny.weights.
when I run python3 video_demo.py with the same parameters and same video it appears to be in the ~5 fps.  Below is the setup
...
net = Detector(bytes("cfg/yolov3-tiny.cfg", encoding="utf-8"), bytes("weights/yolov3-tiny.weights", encoding="utf-8"), 0,
bytes("cfg/coco.data", encoding="utf-8"))
...
Any thoughts why?  Thanks in advance for your support.

Hi, did you find any solution?


What about Linux?

Hi,
first of all: very nice work, thank you!
I wonder: are there any chance to build this VST on (and for) Linux?

quite possibly!
i am totally clueless about plugin formats on linux, but i think the framework this is built on (WDL-OL) can build pretty much every plugin format out there.

i am totally clueless about plugin formats on linux,

besides a couple of formats which have been created and are used almost only on that platform (LV2 and its ancestor, LADSPA), there are the usual VST & VST3 (supported e.g. by the Linux port of Reaper, as well as Ardour, MixBus, etc).

(WDL-OL) can build pretty much every plugin format out there.

is it this one?   https://github.com/olilarkin/wdl-ol
(or its successor, iPlug2? Or some other variant?)

the first link is correct. cocoa delay was created before iPlug2 was publicly available.

Fine. Are there any instruction for building? I may try to do it myself.

I followed these instructions for building, but there don't appear to be any instructions for Linux.

Mmmh, that's bad.  Can't find any standard Makefile, cmakefile or something like that, either... only proprietary project files for Apple and MS software.  :-/  :-(

Unless something changed lately, this sounds like more bad news...
https://forum.cockos.com/showthread.php?t=67146

any update?


Remove deprecated metrics-tracker

Remove:
Badge at top of README
Privacy Notice from Readme
Disabling Deployment Tracking from Readme
use of metric tracker in app:
i.e. require('metrics-tracker-client').track();
package.json for metrics-tracker
package-lock.json stuff
Change D2B to:
https://bluemix.net/deploy/button.png

This can be merged. I tested with these changes.


Creating a service for package.json scripts

My "start" script is tsx src/index.ts so I tried the following:
# ser create --name jewel --start --enable --interpreter $(which pnpm) start
# ser create --name jewel --start --enable --interpreter $PWD/node_modules/.bin/tsx src/index.ts

The first was me hoping it didnt check if the file was real, but it does so that "hack" didnt work.
The second didn't work because tsx's hashbang gets node from the env, which doesn't exist til ~/.bashrc is ran.
I suggest there should be a builtin way to do package.json scripts as services, or the even more abstractly any command.
Until then my workaround is to make an executable: printf '#!'$(which bash)'\npnpm start\n' this did not work either lol

The idea behind servicer was to run services in production environment. Is there a reason behind why you cannot build index.ts and then run it with node?
I think --interpreter $PWD/node_modules/.bin/tsx won't work because tsx is a JS file and not a binary file. It needs to be called using node, so the interpreter should be node.  Also the create command is not designed for compound commands. It handles simple commands of format INTERPRETER FILE_PATH, not INTERPRETER tsx FILE_PATH.
Your bet would be to use ser edit and write a custom .service file. Have you figured out a way to call tsx using its absolute path?
Meanwhile I'll check the feasibility of turning package.json scripts into services.

ser create --name jewel --start --enable --interpreter $PWD/node_modules/.bin/tsx src/index.ts worked for me.

The second didn't work because tsx's hashbang gets node from the env, which doesn't exist til ~/.bashrc is ran.

As mentioned in the docs node must be available to the root user without ~/.bashrc. Try adding a symlink in /usr/local/bin and then run the script
sudo ln -s $(which node) "/usr/local/bin/node"

Lmk if this works

I use tsx because it's a very simple build system and works very cleanly with how I use the node:child_process module
That workaround probably will work but I'd rather not do that so that I dont have to update it when I upgrade my node version
I may just switch to including the build step in my production update flow (before doing git pull) so that I can use servicer


processor: fix a bug that will cause processor Tick get stuck when downstream is Kafka

What problem does this PR solve?

Issue Number: close #11340
What is changed and how it works?
Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

Deploy a cdc cluster, create two changefeeds and synchronize the same table to both Kafka and TiDB separately.
Every 20 minutes, inject CDC to network isolation:

First, isolate cdc to Kafka network for 10 minutes.
Then, 20 minutes later, isolate cdc to downstream TiDB network for 10 minutes.

Repeat this process six times.
Before this PR, the lag in the MySQL sink changefeed was influenced by the Kafka sink changefeed when network isolation was introduced between CDC and Kafka:

After this PR, only Kafka sink changefeed lag increasing during network isolation injection:

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Fix a bug that causes the processor tick to get stuck when the downstream is Kafka and becomes unreachable.```

/test all

/test all

/test all

/retest

/retest

/retest


Problem player Fos-Streaming ...

Hello,
I come to you because I have a problem with your script, I followed all the steps of facilities and also the steps updates the script, everything works fine, I can insert streaming links (.ts and .m3u8) but can not view the embedded player with the script.
do these extensions are supported by your script?
I use the VLC plugin for iceweasel, is it good?
Thank you for your script, and waiting for your reply I wish you a good day.
PS: I test your script with virtualbox and debian jessie.

Hello Guims,
Soon i will be fix the play.php script.
Thanks for using this panel.
If there are any problems, you can submit a new issue.
Zadik


Warn when there are unused columns in CTE

close #18

Codecov Report
Attention: Patch coverage is 82.74336% with 39 lines in your changes missing coverage. Please review.

Project coverage is 77.10%. Comparing base (982527a) to head (226ddd8).

Files
Patch %
Lines

src/rules/unused_column_in_cte.rs
85.38%
32 Missing :warning:

src/main.rs
0.00%
7 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   71.63%   77.10%   +5.47%
==========================================
  Files           4        5       +1
  Lines         275      498     +223
==========================================
+ Hits          197      384     +187
- Misses         78      114      +36

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ERROR TypeError: Cannot read property 'length' of undefined while accessing length property

Please change this in the pre-generated paginator markup:
Form
<mat-paginator #paginator [length]="dataSource.data.length"
To
<mat-paginator #paginator [length]="dataSource.data?.length"
It works out of the box when applying the example with hardcoded data. But when replacing the data source by a real one coming from a observable the paginator breaks:
"ERROR TypeError: Cannot read property 'length' of undefined while accessing length property"
I've found the solution in Stack Overflow in this question:
https://stackoverflow.com/questions/47258260/angular4-error-typeerror-cannot-read-property-length-of-undefined-while-acce
So it would be great add a simple question mark and avoid such an error when generating material tables.

++

As suggested in the link, initializing the array seems good too in the generated table code:
dataSource.data = [];

This has been done: https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/table/files/path/name%40dasherize%40if-flat/name%40dasherize.component.html.template#L20


Restore phase of control plane migration can fail for Azure AVSet clusters

How to categorize this issue?

/area control-plane-migration
/kind bug
/priority 3
What happened:
Triggered control plane migration for an azure availability set cluster in the westus2 region. During the restore phase, the following error occurred:
flow "Shoot cluster reconciliation" encountered task errors: [task "Waiting until shoot infrastructure has been reconciled" failed: Error while waiting for Infrastructure shoot--faas-live--us20/us20 to become ready: error during reconciliation: Error restoring infrastructure: failed to apply the terraform config: Terraform execution for command 'apply' could not be completed:

* compute.AvailabilitySetsClient#Delete: Failure responding to request: StatusCode=409 -- Original Error: autorest/azure: Service returned an error. Status=409 Code="OperationNotAllowed" Message="Availability Set 'shoot--faas-live--us20-avset-workers' cannot be deleted. Before deleting an Availability Set please ensure that it does not contain any VM."]

What you expected to happen:
The restore phase to complete successfully.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Initially (before migration) the terraform state was saved with the following configuration for the availability set:
"attributes": {
  "id": "<some-id>",
  "location": "westus2",
  "managed": true,
  "name": "shoot--<namespace>--<shoot>-avset-workers",
  "platform_fault_domain_count": 2,
  "platform_update_domain_count": 5,
  "proximity_placement_group_id": null,
  "resource_group_name": "shoot--<namespace>--<shoot>",
  "tags": {},
  "timeouts": null
}

However, during restoration the <shoot>.infra.tf-config config map had the following configuration for availability sets:
resource "azurerm_availability_set" "workers" {
  name                         = "shoot--faas-live--us20-avset-workers"
  location                     = "westus2"
  resource_group_name          = azurerm_resource_group.rg.name
  platform_update_domain_count = "5"
  platform_fault_domain_count  = "3"
  managed                      = true
}

Notice that the platform_fault_domain_count in the terraform config is 3, whereas in the state it is 2. I guess this caused terraform to want to delete the existing avset and recreate it.
I checked the CloudProfile and found out that for the westus2 region the faultDomainCount is 3, and that is why in the new terraform config in the new seed platform_fault_domain_count  = "3" So perhaps this was changed at some point?
During reconciliation thefaultDomainCount is saved in infrastructure.status.providerStatus.availabilitySets[].countFaultDomain. So in future reconciliations the shoot can still keep its existing configuration for faultDomainCount by retrieving it from the infra's status.
However, during the restoration phase the providerStatus is not added to the newly created infrastructure resource on the new seed cluster, and the faultDomainCount is retrieved from the CloudProfile where it has a different value.
Environment:

Gardener version: 1.32.2
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration: Azure
Others:

Essentially what happens is that when the terraform values are computed during reconciliation, if the infrastructure.Status.ProviderStatus field exists, the countFaultDomains value is extracted from there instead of the CloudProfile. This means that at the start of the restore operation the infrastructure.Status.ProviderStatus field needs to be added to the Infrastructure resource.
I've come up with two ways to do it but would like to check with @dkistner @kon-angelo and @rfranzke which would be the better one:

Simply save the providerStatus in the infrastructure.Status.State field, together with the terraform state, then load it from the infrastructure.Status.State field at the beginning of the restoration. You can check an example change here:
https://github.com/plkokanov/gardener-extension-provider-azure/commit/0ffdf3b15c40546f4201fe307e9a8036dc693fd4
This change is backwards compatible, but it will require a reconciliation of the infra resource so that the infra.Status.State field is updated. (We could store only the availabilitySets from the providerStatus which is what is required to get the countFaultDomain information)

Extend our terraform library with an additional function e.g. GetOutputVariablesFromState(stateConfigMap []byte, variables ...string) (map[string]string, error). Then use this method during the restoration operation of the infrastructure resource to create the provider status from the available terraform state data, and assign it to the infrastructure. Example change: https://github.com/plkokanov/gardener-extension-provider-azure/commit/6a4a369bd4df5a973ac5ed7b88e5c0d45cad552c
This change is also backwards compatible and does not require a reconciliation of the infra resource. However, a few lines of code in the existing reconciliation logic when computing the terraform variables are worrying me: https://github.com/gardener/gardener-extension-provider-azure/blob/c7ad350b15fb7d48782d09edea9458126c020dce/pkg/internal/infrastructure/terraform.go#L605-L612
At the start of the restore operation, when we try to compute the provider status values from the terraform state here, the infrastructure.Status.ProviderStatus field will be nil, and those lines will not get executed.

+1 for the first approach


Foundry 0.8.6 - 5e - Module v 1.1.3 - Can't Delete Items

Describe the bug
When I attempt to delete items from the merchant NPC, Nothing happens.
To Reproduce
Steps to reproduce the behavior:

Go to Merchant NPC
Attempt to delete item
Nothing happens

Expected behavior
When I click the delete button, I expect the item to be removed.
Screenshots

Desktop (please complete the following information):
Windows 10, Google Chrome Version 91.0.4472.77 (Official Build) (64-bit)
The error in the console is:
merchant.js:514 Merchant sheet | Delete Item clicked
backend.mjs:230 Uncaught (in promise) Error: The document ids provided to the DatabaseBackend#delete operation must be an array of strings
at ClientDatabaseBackend._deleteArgs (backend.mjs:230)
at ClientDatabaseBackend.delete (backend.mjs:213)
at async Function.deleteDocuments (document.mjs:401)
_deleteArgs @ backend.mjs:230
delete @ backend.mjs:213

SWADE 19.4 + FVTT 8.6
Same here

Found the problem will add a new version that fix it tonight

Fixed in 1.1.4


isSailsAppSync?

Sails version: 1
Node version: any
NPM version: any
Operating system: any

Hi guys,
I'm reading the whole code, trying to understand/review the changes upcoming in the next 1.0 version, as well as seeing if I can contribute in the middle.
While reading the code, I encountered the definition of isSailsAppSync function, but I don't see that is being used (called) anywhere, after generating a new app with this version. Should it be removed? Is it there because of backward compatibility? Should it be deprecated or a warning be shown about it becoming deprecated in next versions?
Regards,
Luis

Waiting for comments

Hi @luislobo, thanks for the heads up.
isSailsAppSync was mainly used in the previous version of sails-generate, but since it's a public method on the Sails object it's possible that it's being used out in the wild, so we're supporting it for backwards-compatibility for the time being.  We may deprecate it and remove it in future versions.


When using safeBothPrefix the prefix [dir] is missing for styles using padding-block

When using padding-block and safeBothPrefix the output doesn't wrap the class using padding-block with [dir] that leads to specificity issues with other styles using padding.
Example
.test {
    padding-block: 10;
}

input {
    padding: 0;
}

Output:
.test {
    padding-block: 10;
}

[dir] input {
    padding: 0;
}

Expected:
[dir] .test {
    padding-block: 10;
}

[dir] input {
    padding: 0;
}

Playground: https://elchininet.github.io/postcss-rtlcss/#6503a1cc884f3

Hi @edba,
I'll take a look when I get some time.
Regards

Hi @edba,
The issue has been fixed in the version 4.0.8. You can test it with the same link that you provided before.
Regards


Fix error in queuing mechanism using the wrong response envelope.

Fixed a very subtle bug here.  If the queue is non-empty then we are using the wrong request envelope. This may be related to requests randomly failing since the wrong response is associated with each request.
May be causing #57

We had a discussion on discord whether this was correct or not. While I thought it should be like what you're proposing, others didn't agree so I kept it like that.
This is what was originally proposed and I slightly modified and cleaned.
Also this and this.
Thanks 👍


[REQUEST] Window panel row

Describe the solution you'd like
Add some sort of customizable window panel widget which allows binding actions to panel buttons, like X to close.
Describe alternatives you've considered
Doing it manually: looks out of place and is pretty irregular between projects.
Is this feature present in other TUI products?
Not really, as they don't focus on floating windows. However winman has this.
Additional context
This could be a new widget class, with its own button styling.

#4 has suggestions on the default button characters.

Merged into #4


Redirect old dashboard to new teacher dashboard

Also, shall we remove the Teacher Dashboard link too for now?


Add a suggestive message if no network selected

Fixes #883 .
Changes proposed in this PR:

message displayed if no network selected

This is good but it's also quite a bit of repetition so it might be worth putting it in a separate component and reusing it. That will also make it easier to update if we need to change it at any point in the future.

Good point, thanks. I'll change that right now


⚠ Bofrost.de has degraded performance

In 4e85ed1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1707 ms

Resolved: Bofrost.de performance has improved in c0ab065 after 6 minutes.


Examples

Fixes #21

Hi Aaron,
Thank you for writing these examples. To pass the lint test, please run the following command to format the files:
rye run format


Avalon Convenience Library

Goal
Facilitate high-level functionality that can be shared between configs, but isn't low-level enough for inclusion into the API.
Motivation
Starting at #382, it's become clear that some functionality is suitable for more than one config, but not necessarily by all or to be on-by-default. We could either create a new repository, e.g. avalon/util, but there's value in having a shared issue tracker, commit history and one less version to control on PyPI and in a given pipeline. Less like Pyblish, and more like a monorepo.
Implementation
Wrap the public API in a higher-level avalon/util.py module.

util.py are allowed to access only the API, much like a client
No other module may reference util.py itself

util.py are allowed to access only the API, much like a client

Unless we expose the tools to the API, how would we implement #382 only using the API?

Tools don't open files, the API does. The tools expose the API to the end-user.
If there's something needed in the API to open files, we'll need to add this. E.g. api.open_file()? I think there's already a maya.open() from workio.py we could maybe use.


Non-injective closed type family accepted as injective

This definition is accepted although it shouldn't:
type family F a b  = r | r -> a b where
  F a     IO      = IO a
  F Char  b       = b Int

The problem lies in the implementation of check_injectivity in TcTyClsDecls:
gather_conflicts branch acc
  | Just (ax1, _)
      <- injectiveBranches inj cur_branch branch
  = if ax1 `isDominatedBy` prev_branches
    then acc else branch : acc
  | otherwise = acc

Right now GHC believes that the second equation after substitution is dominated by the first one but this is not true, because the first equation should be considered under the same substitution. In other words after unification GHC checks this:
type family F a b  = r | r -> a b where
  F a     IO      = IO a   -- no substitution
  F Char  IO      = IO Int -- substitution

but it should check this:
type family F a b  = r | r -> a b where
  F Int   IO      = IO Int  -- substitution
  F Char  IO      = IO Int  -- substitution

The solution is to replace branch in prev_branches list with ax2 (currently discarded). The problem is that I don't know how to find branch inside prev_branches - CoAxBranch does not have an instance of Eq.

Richard says:
"The only way to identify a branch is by its index. Of course, you can't extract the index from the branch itself. Either have your algorithm return the index instead of the branch, or perhaps add an index field to CoAxBranch. (I believe there are other areas where algorithms have to take some care to remember branch indices. These might be improved if CoAxBranch stored its index. Look around the incompatibleBranches acrobatics.)"


Turkish translation

Hello everyone!
Thanks for this brilliant project to @kelseyhightower
I just wanted to see this cool project in my native language 😄

Is that Modern Turkish?

@mahmedov Yes it is.