Switch to mime-types from mime

This was picked up from the Express 5.0 todo-list: expressjs/express#2237

Use mime-types instead of mime

accepts is already using mime-type so currently both are being pulled in to Express:
$ npm ls mime-types
<EMAIL_ADDRESS>/Users/linus/coding/express
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └─┬<EMAIL_ADDRESS>│     └──<EMAIL_ADDRESS>deduped
└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>deduped

$ npm ls mime
<EMAIL_ADDRESS>/Users/linus/coding/express
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>deduped

Note that supertest is a dev-dependency so after this change only mime-types should be present when adding express as a dependency.

Proposal for changelog:
0.18.0 / 2020-03-XX
===================

  * **Breaking:** Switch to `mime-types` from `mime`

    Migration guide:

    The mime type database is no longer extendable at runtime, and thus the `.mime` export have been removed.

Since this is a breaking change can this target the 1.x branch along with the other breaking changes for 1.x?

Sure thing ✔

Also, we need to at least document some method for users to change the mime types for files based on extension... that would be a very large and strange API gap to introduce, as setting that type of thing is common among all static file servers.

Sounds good! I'm guessing that we should introduce an API specifically for this? I'll post a suggestion on it soon ✔

Please include the updates to the history file as part of the PR itself :)

Will do ✔

Sounds good! I'm guessing that we should introduce an API specifically for this? I'll post a suggestion on it soon ✔

We may need to, yes. Currently mime-types itself doesn't have one, but we probably need to do something as it is quite the feature gap. The mime module was archived for a while but has been since unarchived. The motivation behind this change is partly due to that and to simplify the dep tree.
I think we may also decide there is too much work to do still to throw it into express 5 as well, as I think we all agree a top goal is to prevent further slipping of the release, lol.
Sorry I don't have a direct opinion right now; just quickly typing at work and will give more thought, especially if you have more to post before I'm out tonight.

I think we may also decide there is too much work to do still to throw it into express 5 as well, as I think we all agree a top goal is to prevent further slipping of the release, lol.

100%, I don't want this to hold up the release at all 👍

Sorry I don't have a direct opinion right now

No worries!

Looking at the current API, I'm not a fan of extending global variables. Especially since any library can import mime and add something to it, but that might not always be the same mime that send will use depending on how the dependency tree looks. I think it lends itself to produce bugs that are hard to catch...
One idea for an API would be something like this:

In send we add an option to pass in a mime-type database/source object. In a breaking change, we could default this to require('mime-db').
In serve-static we add the same option, which would just be passed to send. In a breaking change, we could bump the send version so that it defaults to mime-db.
In Express we add the same option as a global .set() option that, if set, gets passed to serve-static/send. In a breaking change, we could bump the serve-static/send version so that it defaults to mime-db.

On top of this we would probably also need an extend function that can extend an existing mime database object, so that people can easily add there own mime types.
The usage would look something like this:
Send
const send = require('send')
const mimeDB = require('mime-db')

const mimeTypes = { ...mimeDB, 'application/linusu': { ext: ['.foo'] } }

// ...

send(req, 'linusu.foo', { mimeTypes })

serve-static
const serveStatic = require('serve-static')
const mimeDB = require('mime-db')

const mimeTypes = { ...mimeDB, 'application/linusu': { ext: ['.foo'] } }
const serve = serveStatic('public/linusu', { mimeTypes })

// ...

serve(req, res, (err) => console.error(err.stack))

express
const express = require('express')
const mimeDB = require('mime-db')

const app = express()
const mimeTypes = { ...mimeDB, 'application/linusu': { ext: ['.foo'] } }

app.set('mime types', mimeTypes)

app.get('/', (req, res) => {
  res.sendFile('linusu.foo')
})

app.use(express.static('public/linusu'))

// ...

The beauty with this approach:

We don't have to make it a breaking change

(the only breaking change would be defaulting to the new mime-db)

No global variables, but still easy to configure your entire Express project
Users can use alternative mime databases

(e.g. one with only the types that they are going to use)

What do you think a good approach to move this forward is? Open an issue on expressjs/discussions to start a discussion on the API design? or submit draft PRs implementing my suggestion? or something else? ☺


Add Splash Screen

Guidelines

Create splashscreen.dart in lib>views>screen
Save svg file in  a separate folder in assets. assets>splashscreen
Refer Figma file given below to implement SplashScreen
Use SVG files only

Figma file :  https://www.figma.com/file/WH1FuL0AW1ag9SJr1QRgua/SplashScreen?node-id=1%3A4

@Him-anshuSharma May I work on this issue?

@Him-anshuSharma May I work on this issue?
Yeah sure, Go ahead.

@Him-anshuSharma May I work on this issue?

@samitkapoor
Yeah sure, Go ahead.
Make a PR in the UI branch

@Him-anshuSharma okay 👍


New commits interrupt rendering of past commits

If the user quickly enters git commit repeatedly, the rendering of the new commits appears to interrupt the rendering of past commits. It would be difficult to reproduce this behavior by typing the full command git commit repeatedly. Instead, type git commit once and then use the up arrow to select the previous command and press enter. Doing so in rapid succession results in something like the following:

The generated code:
<g class="commits">
    <text class="id-label" x="590" y="114">d80cc13..</text>
    <text class="id-label" x="500" y="114">930215d..</text>
    <text class="id-label" x="410" y="114">78a3c03..</text>
    <text class="id-label" x="320" y="114">9c30525..</text>
    <text class="id-label" x="230" y="114">da24642..</text>
    <text class="id-label" x="140" y="114">1fb4ff4..</text>
    <text class="id-label" x="50" y="114">e137e9b..</text>
    <circle id="ExplainGitCommit-e137e9b" class="commit" cx="50" cy="80" r="20"></circle>
    <circle id="ExplainGitCommit-1fb4ff4" class="commit" cx="140" cy="80" r="20"></circle>
    <circle id="ExplainGitCommit-da24642" class="commit" cx="230" cy="80" r="1.7241377279999999"></circle>
    <circle id="ExplainGitCommit-9c30525" class="commit" cx="320" cy="80" r="3.093314208"></circle>
    <circle id="ExplainGitCommit-78a3c03" class="commit" cx="410" cy="80" r="1.744826144"></circle>
    <circle id="ExplainGitCommit-930215d" class="commit" cx="500" cy="80" r="2.4304032960000006"></circle>
    <circle id="ExplainGitCommit-d80cc13" class="commit checked-out" cx="590" cy="80" r="20"></circle>
</g>

Notice the radius of each commit circle.
Finally, I wanted to say thank you for this extremely useful tool!

I initially discovered this using the version at http://www.wei-wang.com/ExplainGitWithD3/. I just tested the version at http://onlywei.github.io/explain-git-with-d3/ and it behaves the same with regard to this issue.

Relevant StackOverflow question.


User-defined aliases

Hi, thanks for the great project! I was thinking it would be useful to have some sort of configuration for user-defined aliases at different scopes.
For example, a user might define global aliases on their machine like:

! to be an alias for /run (https://github.com/paul-gauthier/aider/issues/334)

And then for projects we could commit in common aliases for development:

Adding files related to a section of the codebase, e.g. /add_${feature} as an alias for /add $feature_source_file $other_file $another_related_file
Common run commands, e.g. /clippy as an alias for /run cargo clippy -- -D warnings

Aliases could be put under the same prefix as commands currently (like /! or /clippy) or under a different prefix to reduce confusion / collisions when new commands are released (maybe ! and !clippy?).
Wdyt? I could put together a PR if you're interested.

Thanks for trying aider and filing this issue.
Have you tried using the history search that's build into aider? You can do control-r to search back and re-use commands you've previously entered into the aider chat. That may make it easy to re-use commands that you need frequently?

Thanks for the reply! I haven't used control-r as much, but that's a good point and it does help with repeated commands. I still think aliases could be a good way for advocates within companies (like myself) to minimize the friction for team members who want to try aider out on a non-trivial example.
For example, I could set up aliases for working with specific files within the repo, common run commands we use for linters like clippy, etc. Then run a workshop with my teammates to spin up aider and work through an example feature request.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.


[1.19.2] kubejs fix

this pr should contain a fix for issue 98 on 1.19.2.
the build was tested in my modpack and kubejs now behaves as expected with your recipe serializer.

This should already be fixed as of the commits made with #98. I have already tested them, and this PR is redundant.
As you see in the snippet below, it is set to air before returning if null, preventing the issue from occuring.
https://github.com/wisp-forest/alloy-forgery/blob/056c83833c2970a58f4e3415224abb5dae97a30e/src/main/java/wraith/alloyforgery/recipe/AlloyForgeRecipeSerializer.java#L98


Removing/adding monitors race conditions

Removing and adding monitors in close succession can cause workspaces to not be shown.

This was consistently occurring previously. I am closing this as I was unable to reproduce it at this time.


Can not rotate Control nodes with Rotate tool

Operating system or device:
Windows 10, Ubuntu 14.04
Issue description (what happened, and what was expected):
Can rotate Node2D nodes with rotate tool, but can not rotate Control nodes.
Steps to reproduce:

add Sprite and Button
select Rotate tool
try to rotate Sprite and Button
can not rotate Button

I am not sure GUI elements are supposed to be rotated. Can they?

Yes. It's supported from 890b462ffbe6b3ece94b90170d95d719bc4a9075

Can you add a Sprite and a Button to a root Control node and rotate the root Control node ? Just for verifying.

Control (root)

Button
Sprite

I can rotate all nodes include root with inspector.

Ok, so it is a bug concerning the rotate helpers of the element in the grid. I can't label the issue, let's wait for @godotengine/bugsquad


Run amm as shell and cmd script

As of v1.1.0 ammonite can run on windows.
This pr adds the ability to run the ammonite shell directly as a cmd script while it remains being a proper shell script.
With the .cmd or .bat extension it can be run by double clicking making it very easy for newcomers to launch the ammonite shell.
Feedback is very welcome :)

@robby-phd as the author of https://github.com/lihaoyi/mill/pull/243, could you help review this? =)

@robby-phd I also gave you commit access to the Ammonite repo, feel free to merge when you're happy!

This is an interesting coincidence, I was looking at https://stackoverflow.com/questions/17510688/single-script-to-run-in-both-windows-batch-and-linux-bash to see if mill's sh and batch versions can be combined after I did lihaoyi/mill#243 (but I had to fix other things ;p).
@lihaoyi Thanks; that would make it easier to do round trip Ammonite<->mill (trivial) changes. :)
@LolHens Would you be willing to bring this feature to mill as well (adapting lihaoyi/mill#243)? =)

I'll have to look into it but it should be possible

That would be great!


This updates the growthbook sdk version to 2.0 which includes async
construction of the growthbook sdk, so in turn this is now a breaking
change in our lib.

I cleaned this up and integrated it manually. Therefore, I am closing this pull request.


Distribute via chrome too

I've tested this extension against Chrome using DevTools and it Just Works.
Do you have time/willingness to add it to Chrome too? Or are you happy for me to do that?
The instructions look pretty trivial (assuming you have Chrome installed).

Yes, it does indeed "just work" in Chrome. I submitted it to their store on Friday but they're being a bit slower to review it than Mozilla were. It should be up there soon.

Wonderful! Sorry, didn't realise you were already on top of it. :-)

This has been published now: https://chrome.google.com/webstore/detail/advent-of-code-delta-rank/meifppogcngbljnpnhpokdblbghfdmce


mawk: 1.3.4-20161120 -> 1.3.4-20171017

Motivation for this change
Update mawk to the last version

20171017
+ add Debian compile/link flags to test-package.
+ cleanup spurious warnings from latest gcc.
+ changes for Original-Mawk #48:
+ add checks for stack overflow and underflow
+ increase stack limit to 1024
+ updated configure macros
+ update config.guess and config.sub

Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

@rycee Thanks a lot for the advice. Fixed

Rebased to master in 9720703d2424485a7bad4c282d33916ef815c548. Thanks!


Throw exception when using equal & same for some variable

Versions
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
equal() Cannot read property 'length' of null
# Subtest: Wechaty <> Tap `Error: undefined is not a function`
    not ok 1 - Cannot read property 'length' of null
      ---
      stack: |
        Format.arrayIsEmpty (node_modules/tcompare/lib/format.js:390:31)
        Format.array (node_modules/tcompare/lib/format.js:384:14)
        Format.collection (node_modules/tcompare/lib/format.js:211:58)
        Format.printValue (node_modules/tcompare/lib/format.js:140:21)
        Format.print (node_modules/tcompare/lib/format.js:78:51)
        Same.simplePrint (node_modules/tcompare/lib/same.js:134:8)
        Same.diff (node_modules/tcompare/lib/same.js:434:35)
        Same.print (node_modules/tcompare/lib/same.js:146:37)
        simple (node_modules/tcompare/index.js:9:11)
        node_modules/tcompare/index.js:13:3
      at:
        line: 390
        column: 31
        file: node_modules/tcompare/lib/format.js
        function: Format.arrayIsEmpty
      type: TypeError
      tapCaught: returnedPromiseRejection
      test: "Wechaty <> Tap `Error: undefined is not a function`"
      source: |2
          arrayIsEmpty () {
            return this.objectAsArray.length === 0
        ------------------------------^
          }
          arrayEmpty () {
      ...

    1..1
    # failed 1 test

same() Error: undefined is not a function
$ ./src/t.ts
TAP version 13
# Subtest: Wechaty <> Tap
    not ok 1 - undefined is not a function
      ---
      stack: >
        Object.createSeq [as createNode]
        (node_modules/yaml/dist/Schema-88e323a7.js:35:16)

        createNode (node_modules/yaml/dist/Schema-88e323a7.js:444:41)

        Schema.createNode (node_modules/yaml/dist/Schema-88e323a7.js:507:12)

        Schema.createPair (node_modules/yaml/dist/Schema-88e323a7.js:515:20)

        Object.createMap [as createNode] (node_modules/yaml/dist/Schema-88e323a7.js:13:63)

        createNode (node_modules/yaml/dist/Schema-88e323a7.js:444:41)

        Schema.createNode (node_modules/yaml/dist/Schema-88e323a7.js:507:12)

        Schema.createPair (node_modules/yaml/dist/Schema-88e323a7.js:515:20)

        Object.createMap [as createNode] (node_modules/yaml/dist/Schema-88e323a7.js:13:63)

        createNode (node_modules/yaml/dist/Schema-88e323a7.js:444:41)
      at:
        line: 35
        column: 16
        file: node_modules/yaml/dist/Schema-88e323a7.js
        function: Object.createSeq
        method: createNode
      type: TypeError
      tapCaught: returnedPromiseRejection
      test: Wechaty <> Tap
      source: |2
          if (obj && obj[Symbol.iterator]) {
            for (const it of obj) {
        ---------------^
              const v = schema.createNode(it, ctx.wrapScalars, null, ctx);
              seq.items.push(v);
      ...

    1..2
    # test count(1) != plan(2)
    # failed 1 test
not ok 1 - Wechaty <> Tap # time=42.396ms

1..1
# failed 1 test
# time=54.162ms

Reproduciable minimum code
NPM Versions:
npm install<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Code:
#!/usr/bin/env -S node --no-warnings --loader ts-node/esm

import { test } from 'tap'  //<EMAIL_ADDRESS>
import { WechatyBuilder } from 'wechaty'  //<EMAIL_ADDRESS>import { PuppetMock }     from 'wechaty-puppet-mock'  //<EMAIL_ADDRESS>
test('Wechaty <> Tap reproduce bug', async t => {
  const puppet = new PuppetMock()
  const wechaty = WechatyBuilder.build({ puppet })

  t.same(wechaty, undefined, 'should have wechaty registered after use plugin')
  /**
   * Error: Cannot read property 'length' of null
   *
   * stack: |
   *    Format.arrayIsEmpty (node_modules/tcompare/lib/format.js:390:31)
   */

  t.equal(wechaty, undefined, 'should have wechaty registered after use plugin')
  /**
   * Error: undefined is not a function
   *
   * stack: >
   *    Object.createSeq [as createNode]
   *    (node_modules/yaml/dist/Schema-88e323a7.js:35:16)
   */
}).catch(console.error)

Cross-posted from:

https://github.com/wechaty/wechaty/issues/2304

It's a bug in the MemoryCard module.  https://github.com/huan/memory-card/issues/39
The presence of this function tells tap that it's an array-like, but then the iterator function returns an invalid response, so Array.from() fails.
Nevertheless, tcompare should handle this case more gracefully.  Leaving open, but I guess the solution here is to catch the error from Array.from(), and then if it does throw, mark the object as not array-like, no matter what it looks like, and back up and re-try the formatting operation with that new info.

Even more minimal example:
const t = require('tap')
t.test('same', async t => {
  t.same({ [Symbol.iterator] () { return {} } }, undefined)
})
t.test('equal', async t => {
  t.equal({ [Symbol.iterator] () { return {} } }, undefined)
})

@isaacs Thank you very much for pointing the problem out!
I believe I have fixed the iterator problem in the MemoryCard (this commit) by removing the [Symbol.iterator]() entrance and it should compatible with the current version of the Tap.
And I totally agree that the Tap should validate the [Symbol.iterator]() and ignore it if it does not follow the array convention.
BTW: could you also take a look at the below issue? I believe it's a blocker for ESM module developers/users when they need to publish under the Windows platform:

https://github.com/npm/cmd-shim/issues/54

Thank you very much!

Anyone encountering this can fix it with npm update tcompare, or reinstall tap.


Can you provide the pretrained model for HumanML3D?

Good job! Can you provide the pretrained model for HumanML3D?Thank you very much.

Hi there,
Thank you for your interest in our work.
The pre-trained model of HumanML3D can be downloaded following Section 2.5 in the README.md.

Oh，Thank you for your reply.


Can not use in browser side.

TypeError: fs.readFileSync is not a function
Can not use in browser side.

The module is for Node.js, not the browser.

I wrote a node script. It help me to convert the TXT file into a json file.
const cows = require("cows");
const fs = require("fs");
const path = require("path");
const cowsArray = cows();
fs.writeFileSync(path.join(__dirname, 'cows.json'), JSON.stringify(cowsArray),'utf8');

So I can import the file this way
const cowsArray = require("./cows.json");


go modules & c/storage references

Migrate to using go modules
Use containers/storage where possible

Motivated by some build issues in Docker packages: https://github.com/containers/libpod/pull/4598#issuecomment-560304335

@smarterclayton @nalind PTAL. The change is not strictly fixing the issue as docker/docker is breaking with newer x/sys versions but I guess this janitorial PR is still worth merging.

LGTM
/approve

ping, can we merge this?


Playback glitches after pausing for a while

The pipeline appeared to stall after pausing for about 25 minutes. Pausing and playing again appears to have kicked it, but the pipeline jumped 10 or 15 seconds.

Could we set user-buffering on the uridecodebin and listen for buffering messages on the bus as outlined in https://gstreamer.freedesktop.org/documentation/application-development/advanced/buffering.html?gi-language=c ?

I'm going to close this now that we've swapped the pipeline. I'll re-open if it happens again


EADDRINUSE  when using with vue-cli-plugin-browser-extension

I am using vue-cli-plugin-browser-extension
vue.config.js
const ExtensionReloader  = require('webpack-extension-reloader');

module.exports = {
  configureWebpack: {
    devtool: false,
    plugins: [
            new ExtensionReloader({
              port: 9090, // Which port use to create the server
              reloadPage: true, // Force the reload of the page also
              entries: { // The entries used for the content/background scripts or extension pages
                contentScript: ['detail-page', 'search-results'],
                background: 'background',
              }
            }),
          ]
  }
}

when I run vue-cli-service build --mode development --watch I get

Error: listen EADDRINUSE: address already in use :::9090

@leoplct were you able to find the problem?

No i gave up

Same problem here

did restart system and have the problem again?
or did you try  port: 9091


moving titlebar should work

Right now to move windows you do mod+lmb/rmb.
However, in the case where a frame should be drawn, the user should be able to simply click and move the frame without a modifier. This involves selecting for button press, release, and pointer motion events on the frame window and then moving both the frame and it's child

Works in rewrite.


macOS env vars don't work in .cargo/config.toml

The Readme has a section here that says we need to set environment vars on macOS:
VULKAN_SDK=$HOME/VulkanSDK/<version>/macOS \
DYLD_FALLBACK_LIBRARY_PATH=$VULKAN_SDK/lib \
VK_ICD_FILENAMES=$VULKAN_SDK/share/vulkan/icd.d/MoltenVK_icd.json \
VK_LAYER_PATH=$VULKAN_SDK/share/vulkan/explicit_layer.d \

That works when I do it from the shell, but if I set them in .cargo/config.toml, and I try running the triangle example, I see an error like:
dyld[27353]: Library not loaded: @rpath/libvulkan.1.dylib
  Referenced from: <1C30336C-0A98-389F-AAF0-7CBD59D51D72> /Users/rob/Workspace/ThirdParty/ash/target/debug/triangle
  Reason: tried:
'/Users/rob/Workspace/ThirdParty/ash/target/debug/deps/libvulkan.1.dylib' (no such file),
'/Users/rob/Workspace/ThirdParty/ash/target/debug/libvulkan.1.dylib' (no such file),
'/Users/rob/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libvulkan.1.dylib' (no such file),
'/Users/rob/.rustup/toolchains/stable-x86_64-apple-darwin/lib/libvulkan.1.dylib' (no such file),
'/Users/rob/lib/libvulkan.1.dylib' (no such file),
'/usr/local/lib/libvulkan.1.dylib' (no such file),
'/usr/lib/libvulkan.1.dylib' (no such file, not in dyld cache)

Shouldn't the env vars in Cargo's config work the same as those set in the shell? I prefer to set them in Cargo's config, because shells are different on different platforms.
Here's my .cargo/config.toml:
[env]
VULKAN_SDK = "/Users/rob/Dev/VulkanSDK/1.3.275.0/macOS"
DYLD_FALLBACK_LIBRARY_PATH = "/Users/rob/Dev/VulkanSDK/1.3.275.0/macOS/lib"
VK_ICD_FILENAMES = "/Users/rob/Dev/VulkanSDK/1.3.275.0/macOS/share/vulkan/icd.d/MoltenVK_icd.json"
VK_LAYER_PATH = "/Users/rob/Dev/VulkanSDK/1.3.275.0/macOS/share/vulkan/explicit_layer.d"

How, exactly, did you try running the example?
This is not an ash issue, but we might be able to help you work out what's wrong with your workflow.

How, exactly, did you try running the example?

I first tried within my IDE (IntelliJ + rust plugin). But same thing happens from command line: cargo run -p ash-examples --bin triangle

My guess would be that DYLD_FALLBACK_LIBRARY_PATH must be set in the environment in which cargo (and/or your IDE, if your IDE doesn't just invoke cargo) runs, since cargo is what's invoking spawning the process. You may be able to find more info by reviewing the documentation or implementation of your OS's dynamic loader. Alternatively, you could avoid using the linked feature, so that the libvulkan search will happen definitely inside the new process, after it's launched.

Okay, thanks. I may report this as a cargo issue and see if they think [env] is supposed to work exactly like environment variables or not.
I guess for a dev environment I can do a load instead of "linked", but I'm trying to make an app to distribute, so eventually it seems I'll have to figure out how to link it into one file. It's confusing on macOS because there are .a files in there for the "libMoltonVK" but not "libvulkan".
Anyway, thanks.

The Vulkan loader (libvulkan) is not designed to be statically linked. If you distribute on macOS, you can probably package everything into a bundle without needing a monolithic binary. I think it is possible to statically link MoltenVK directly if you really want but you'll probably need to review upstream docs to work out the specifics.


feat(vue-app): build indicator

Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Show build progress inside pages!
TODO

[x] improve style
[x] support custom base URL
[x] add an option to optionally disable
[x] wait little more to display progress of 100

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Codecov Report

Merging #5820 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #5820   +/-   ##
=======================================
  Coverage   95.68%   95.68%
=======================================
  Files          82       82
  Lines        2687     2687
  Branches      689      689
=======================================
  Hits         2571     2571
  Misses         98       98
  Partials       18       18

Flag
Coverage Δ

#e2e
100% <ø> (ø)
:arrow_up:

#fixtures
50.42% <ø> (ø)
:arrow_up:

#unit
92.66% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

packages/vue-app/src/index.js
0% <ø> (ø)
: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 7feaff7...55ea75f. Read the comment docs.

Awesome work Pooya!
Will do some small changes for the UI and will be good for me :)

My last commit improves the style and uses $nextTick to show the 100% everytime.

About the option to disable it, what about build.indicator: false?

UI changes to show only Nuxt logo + percent:

Updates:

Added name to component and renamed to buildIndicator
Smooth progress animation between updates

Final GIF


Giving "active" class to a link when location matches link path?

Has anyone tried this? A google search gives nothing.

I haven't, but if I would, I would first look at the props that I can pass through to Gatsby Link, especially GatsbyLinkProps.

Unless GatsbyLink supports this - you'd have to write your own className logic for this.


Update to 5.0.0 can no longer build

Updating to 5.0.0 completely breaks our build system.
Server running at http://localhost:3000
🚨  /projectname/node_modules/mdi-material-ui/AccessPoint.js:11:23: Cannot resolve dependency '@mat   9 | var _react2 = _interopRequireDefault(_react);
  10 |
> 11 | var _SvgIcon = require('@material-ui/core/SvgIcon');
     |                        ^
  12 |
  13 | var _SvgIcon2 = _interopRequireDefault(_SvgIcon);
  14 |

Parcel 1.8.1
Yarn 1.6.0
Node 10.1.0
macOS

It's a major release, because it breaks stuff. No need to update, there are no new icons (and I'll continue to add new icons in v4 as soon as they get released for the next few months).
v5.0.0 adds support for Material-UI 1.0.0, which changed the package from material-ui to @material-ui/core.

Not having an upgrade path is not a valid answer. There is no reason an icon libraries major release should blow up a dev pipeline over a dependency.


Host's files aren't updated.

Issue Type: Bug
If you make a new session as a host, host's file won't be updated ,but it looks updated from joiners' point of view.
Extension version: 1.0.4419
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:13:13.157Z)
OS version: Windows_NT x64 10.0.19041

Hey @KouTori , could you include a GIF or images of what you're seeing to make sure I'm understanding correctly? Thanks!

We are also having the same issue.

heyo, I'm gonna try and elaborate a bit on this issue :)
We are 2 people editing. When I get invited to the same workspace from about a day ago, my edits are not updated at the host, and things become out of sync as I still get the edits from the host.
We can temporarily fix this by having the host send a new link with a new workspace.
The means the issue probably has something to do with the cache not being synced from the previous session.

@Mwthorn thanks so much for the extra detail. We've never heard about an issue like this before!
Is this consistently happening for you?
When you encounter it again, could you please run through the following steps (they should help us figure out what's happening)? Thanks!
On both the host and the guest:

Enable the liveshare.diagnosticMode setting
Open the file that's out of sync
Run the liveshare.getCoeditingInformation command (ctrl+shift+p to open the command palette, then search for "Get co-editing information") and paste the results below

Host co-editing information:
Guest co-editing information:
To check that messages are being sent and received, open the Output view (ctrl+shift+u) and select "Visual Studio Live Share Coediting" from the dropdown. Type a character. On the sending end, you should see output like:
[2020-12-10 23:51:25.351 ] Post message: {"messageType":"textChange","changes":[{"length":0,"newText":"a","start":400}],"changeServerVersion":12,"clientId":24,"fileName":"/src/foo.txt","time":1607644285349,"sendId":16}

On the receiving end, you should see output like:
[2020-12-10 23:51:27.713 ] Receive message: {"context":{"GuestSessionId":"31","IsOwner":"False"},"sourceId":"Coauthoring","eventId":45,"jsonContent":"{"messageType":"textChange","changes":[{"length":0,"newText":"a","start":400}],"changeServerVersion":12,"clientId":24,"fileName":"/src/foo.txt","time":1607644427514,"sendId":25}","time":1607644427713}

Are messages being sent and received?

@daytonellwanger OK. I'll try it soon, but I have exams this week, so I can't do this now.

I'm having the same issue and it's VERY annoying. When you live share a single file, host doesn't see any changes, but when you share a folder, everything works fine.

@tooruu let me make sure I'm understanding the situation. You are:

Sharing an empty workspace
Opening a file
Someone joins the session. They're able to see the file
Host makes changes to the file

EXPECTED:
Guest can see those changes
ACTUAL:
Guest can't see the changes
Is that right? I just tried that on my end and it worked as expected.

@daytonellwanger in VS Code I:

Open a file via File > Open File...
Create a read-write Live Share session and give the link to another person, they join

EXPECTED:
We both can see the file and changes made to it by both of us.
ACTUAL:
We both can see the initial file, but only the guest sees the changes made by the host. Host doesn't see any changes made by the guest.
Not tested with multiple guests.

@tooruu Me, too. I'm in same problem. Thank you for your explanation. And I tested with multiple guests. Guests can see any changes by other guests, but the host can't see any changes by all the guests. In addition, the host can edit the file, but the changes are ignored in view of the guests. (multi file, whether mac is host or windows is host)

Thanks for that extra detail! I'm able to reproduce the problem. Looking into it now...

Found the issue. It'll be fixed in our next release. Thanks for helping us track this down!

Thank you!! I often use live share. It's very useful. I'm looking for the update.

Just released 1.0.4531, which should have a fix for this. I'm going to close this issue for now. If you're still seeing the issue, please let us know. Thanks!

Actually it looks like this was maybe only a partial fix. Re-opening for now..

Agh, looks like the fix just missed the cut for the release 😫. It'll be in the next release.

Ok now it should actually be fixed in the current release.


Crash when running as a guest on VirtualBox, after laptop lid reopen

I'm running NixOS (19.09, but the same problem on 19.03 and 20.03) inside VirtualBox,
on a MacOS (High Sierra) host.
When the VM is running, shutting the laptop lid, leaving it closed for ~20s,
and reopening it, gives a 100% reproducible crash of the VM.
VirtualBox notes that the VM has aborted... although the debug information provided
does not seem to be (to me) in any way consistent (and thus indicative of the problem).
I haven't found any NixOS specific complaints about this elsewhere... but I
figured that I might as well reach out on the present forum because this is at
least to a degree specific to NixOS:

It wasn't so on previous versions (18.03, I think) of NixOS.
Other guest Linux systems inside VirtualBox don't exhibit this behavior for me.

If nothing else it might create some insight as to whether this is a problem that's
unique to me.
I've taken some inspiration, though no definitive answers, from here:
https://forums.virtualbox.org/viewtopic.php?f=8&t=93739&start=45
I acted on all of the below (quotes from forum thread above), but none of the
proposed solutions fixed anything for me:
Inside the VM:
Turning off power management:
  powerManagement.enable = false;
  services.logind.lidSwitch = "ignore";
  services.logind.extraConfig = "IdleAction=ignore";

Turning off various root-level tools in MacOS:

Caffeine
Karibinier

(Though admittedely I didn't fully purge these tools, I just stopped the
running program, so there's still an off-chance that a more thorough purge would help)
On the VirtualBox settings pane:

my VMs using VMSVGA are very unstable and I'm yet to get a crash with the
VboxVGA controller. I'll be brave and turn nested paging back on with the
VboxVGA controller and see what happens

this was status quo for my (19.03) system

changing Paravirtualization Interface to None.

actual change, but no fix; alternatively:

and running the guest OS's on their "preferred" virtualization interfaces [..] Linux = KVM

again, no fix

but I reduce my hard crashing when I disable nested paging

again, no fix
Global MacOS settings:

Went to System Preferences / Energy Saver and disabled "Automatic Graphics
Switching" (which allows me to prioritize higher performing internal Radeon
GPU over Intel GPU).

again, no fix

The symptoms are the same as with this upstream bugreport:
https://www.virtualbox.org/ticket/19041


Handling pointer and touch input

I cannot find how to handle pointer or touch input in Blits. Any information about it?
thank you

Hi @giolaq, unfortunately Blits doesn't offer mouse / pointer support yet.
The functionality depends on the renderer properly supporting intersection detection to bind the click / touch / pointer events. That feature is being planned, but afaik is not developed yet. As soon as it's available in the renderer, the implementation on the Blits side should be quite straight forward.
More folks have asked for pointer and touch support, so 'll try to see if we can bump the priority on this.


support pytorch >=1.5

Hi @wangg12 ,
Thanks for your update, I will check it and merge if there is no error.


fix: checkout payment submit disabled check

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:
What Is the Current Behavior?

The checkout payment submit disabled check is wrong. The button is not disabled when something is wrong in the form.
Issue Number: Closes #
What Is the New Behavior?
The checkout payment submit disabled check is correct.
Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No
Other Information
AB#75732

Our form behavior works the way, that the submit button is enabled even if there are validation errors in the form. Only after the user has clicked the submit button all validation errors of the form are shown and the submit button is disabled.
All of our forms have a similar code snippet:
get formDisabled() {
    return this.form.invalid && this.submitted;
 }

You will find more information about our form handling here (section 'Form Handling'):
https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/forms.md
I am sorry, but we cannot accept your changes.


[Bug] Occasional extremely slow query processing

Bug report
Occasionally, processing fairly simple queries like this one for uniswap
query priceByBlock {
  token(
    id: "0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0"
    block: { number: 18413853 }
    subgraphError: allow
  ) {
    derivedETH
    volumeUSD
  }
}

can take very long. Generally, the query takes 20ms or so, but sometimes it takes 1.5s - rerunning the query 10-20 times usually leads to a slow instance. Looking at query traces, the query spends very little time with SQL queries (say 5ms) and the rest of the time somewhere in query processing.
It looks very much like this is caused by some sort of resource contention, maybe one of the cache locks, the query semaphore or the connection pool. It could of course also be caused by other elements in the stack, like proxy servers.
I ruled out the load manager as that uses a RwLock by turning it off - that did not change the symptoms.
Relevant log output
Here's a query trace of a slow invocation:
{
  "data": {
    "token": {
      "derivedETH": "0.0033016218795969302566912937428371",
      "volumeUSD": "578792521.1437912970985064082900814"
    }
  },
  "trace": {
    "query": "query priceByBlock { token(id: \"0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0\", block: {number: 18413855}, subgraphError: allow) { derivedETH volumeUSD } } ",
    "query_id": "e07bf8d2ded9f92e-74d1a7541c302694",
    "block": 18413855,
    "elapsed_ms": 529,
    "token": {
      "query": "/* controller='filter',application='sgd582965',route='e07bf8d2ded9f92e-74d1a7541c302694',action='18413855' */\tselect 'Token' as entity, to_jsonb(c.*) as data from (select  c.*\t  from \"sgd582965\".\"token\" c\t where c.block_range @> $1 and coalesce(upper(\"block_range\"),<PHONE_NUMBER>) > $2 and lower(\"block_range\") <= $3 and c.\"id\" = $4\t\t \t limit 100) c -- binds: [18413855, 18413855, 18413855, \"0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0\"]",
      "elapsed_ms": 5,
      "entity_count": 1
    }
  }
}

Some information to help us out

[ ] Tick this box if this bug is caused by a regression found in the latest release.
[ ] Tick this box if this bug is specific to the hosted service.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information
None

We've done some ops work that has improved request latencies and DB connection contention on hosted, which is where this was reproduced. So while I didn't root cause where the slowness was for this issue, it would be interesting to check if it still reproduces.

Closing but feel free to reopen if this reproduces again.

I just tried the query (without a block constraint to query the latest block) and response times seem to be very consistent now

@lutter how did you sync graph node? locally with Geth?


Extract images from URL in excel with PHP using PhpSpreadsheet

Proposed title of the article
Extract images from URL in excel with PHP using PhpSpreadsheet
Introduction paragraph (2-3 paragraphs):
There are various ways to extract images from a given URL. PHP contains built-in functions for extracting data including the images with a URL.
This article is for PHP code to extract images from URLs existing in an excel file.
I have used PhpSpreadsheet to read the URLs from an Excel file. Then, I will create a cURL script to extract images from the URL.
PhpSpreadsheet library supports Excel read-write operations. It provides enormous features like formatting content, manipulating data, and more. It has a rich set of built-in classes and thereby makes the development process easy.
Working with spreadsheets is a common need while handling excel data via programming. PhpSpreadsheet library reduces the developer’s effort on building applications with excel data handing.
Key takeaways:

Uses of extracting images from URL from Excel
Advantages of PhpSpreadsheet Library
Existing PHP libraries used to import-export
File Structure
About this example
PHP code to load and extract image data
Render extracted images in a gallery
Database script
Extract images from URL in excel using PhpSpreadsheet Output

References:
N/A

Good afternoon and thank you for submitting your topic suggestion. @Eliud200
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

@Eliud200
How will this article differ from what is published our other blog sites

@hectorkambow , I'll be using php 8 which is something lacking to other similar content in the Internet

Sounds like a helpful topic - lets please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

Just wanted to follow up on this topic, as we will be clearing up the queue where possible.
Just and FYI I will be closing this topic form just to help clear up the queue where possible - can be REOPENED at anytime when ready. 👍


Terraspace dependency with <%= output(" / every output") %> fails

Checklist

[X] Upgrade Terraspace: Are you using the latest version of Terraspace? This allows Terraspace to fix issues fast. There's an Upgrading Guide: https://terraspace.cloud/docs/misc/upgrading/
[X] Reproducibility: Are you reporting a bug others will be able to reproduce and not asking a question. If you're unsure or want to ask a question, do so on https://community.boltops.com
[X] Code sample: Have you put together a code sample to reproduce the issue and make it available?  Code samples help speed up fixes dramatically. If it's an easily reproducible issue, then code samples are not needed. If you're unsure, please include a code sample.

My Environment

Software
Version

Operating System
Windows 10 / Ubuntu 20.04 WSL

Terraform
v.1.1.4

Terraspace
1.1.0

Ruby
3.0.3p157

Expected Behaviour

Based on the version in front of version 1.1.0 it was possible to use output information in other stack like
vpc_database_subnets = <%= output("vpc.database_subnets") %>
Current Behavior

After Upgrade from Terraspace Version 1.0.6 the same code isn't able to deploy. In .terraspace cache the dependency stacks for terraform state information will delete.
Step-by-step reproduction instructions

create new Project
create new two stacks
reuse based on the first stack the output on the second stack
example :  vpc_database_subnets = <%= output("vpc.database_subnets") %>
the error message comes

Follow error message is created
Error running: cd /......../.terraspace-cache/eu-central-1/demo_account/stacks/s3_bucket &&
terraform state pull > /tmp/terraspace/remote_state/stacks/s3_bucket/state.json
Please fix the error before continuing
Error: Backend initialization required, please run "terraform init"

Code Sample

Solution Suggestion
After downgrade in the Gemfile from "gem "terraspace", '1.1.0'"  to  "gem "terraspace", '1.0.6' "
-> bundle update  in Project everything works fine with Version Terraspace 1.0.6

Thanks for report. Fixed by #199


Allow Native Broker by default

This PR:

Makes system.allowNativeBroker true by default
Updates test suite to accommodate for new default behavior

Codecov Report

Merging #5616 (44ef8af) into msal-browser-v3 (7d12a98) will not change coverage.
The diff coverage is n/a.

Flag
Coverage Δ

*Carryforward flag

msal-angular
96.50% <ø> (ø)

msal-browser
86.28% <ø> (ø)

Carriedforward from 7d12a98

msal-common
84.44% <ø> (ø)

Carriedforward from 7d12a98

msal-core
82.84% <ø> (ø)

Carriedforward from 7d12a98

msal-node
82.90% <ø> (ø)

Carriedforward from 7d12a98

msal-node-extensions
76.03% <ø> (ø)

Carriedforward from 7d12a98

msal-react
94.68% <ø> (ø)

Carriedforward from 7d12a98

node-token-validation
88.88% <ø> (ø)

Carriedforward from 7d12a98

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

lib/msal-browser/src/config/Configuration.ts
95.65% <ø> (ø)

nit: Can we be consistent on commenting? Other than that lgtm.
One clarification: We are disabling to not disrupt the E2E samples, however, I assume eventually WAM sample is expected to be automated?? May be a discussion later, just want to call it out.
Approved.

I assume we'd ideally have E2E tests for it, but in this case disabling it on all other samples is just meant to keep the tests as valid as they were before the default change.

nit: Can we be consistent on commenting? Other than that lgtm.
One clarification: We are disabling to not disrupt the E2E samples, however, I assume eventually WAM sample is expected to be automated?? May be a discussion later, just want to call it out.
Approved.

I assume we'd ideally have E2E tests for it, but in this case disabling it on all other samples is just meant to keep the tests as valid as they were before the default change.

I wonder if there is a better way to centralize the config. Way too many places to change. May be have our samples read from a env file??

nit: Can we be consistent on commenting? Other than that lgtm.
One clarification: We are disabling to not disrupt the E2E samples, however, I assume eventually WAM sample is expected to be automated?? May be a discussion later, just want to call it out.
Approved.

I assume we'd ideally have E2E tests for it, but in this case disabling it on all other samples is just meant to keep the tests as valid as they were before the default change.

I wonder if there is a better way to centralize the config. Way too many places to change. May be have our samples read from a env file??

It might eliminate repetition for us but the configuration is an important part of the sample code in my opinion. Leaving it up to devs means we can't make PRs like this one where we make sure the sample still works after we change overrideable defaults.

nit: Can we be consistent on commenting? Other than that lgtm.
One clarification: We are disabling to not disrupt the E2E samples, however, I assume eventually WAM sample is expected to be automated?? May be a discussion later, just want to call it out.
Approved.

I assume we'd ideally have E2E tests for it, but in this case disabling it on all other samples is just meant to keep the tests as valid as they were before the default change.

I wonder if there is a better way to centralize the config. Way too many places to change. May be have our samples read from a env file??

It might eliminate repetition for us but the configuration is an important part of the sample code in my opinion. Leaving it up to devs means we can't make PRs like this one where we make sure the sample still works after we change overrideable defaults.

I meant we devs will add the config code in the sample folder. Just once and loaded from a single source. However you may be right that this helps with the completeness of the code. Let us circle back on this later.
Thanks.


Fix CVE-2022-28948

Signed-off-by: Joshua Packer<EMAIL_ADDRESS>
Description of the change(s):

Seet yaml.v3 to v3.0.0 for CVE-2022-28948

Why do we need this PR:

Fix CVE-2022-28948

Issue reference:

https://github.com/stolostron/hypershift-deployment-controller/security/dependabot/1

Test API/Unit - Success
?       github.com/stolostron/hypershift-deployment-controller/api/v1alpha1     [no test files]
?       github.com/stolostron/hypershift-deployment-controller/pkg      [no test files]
?       github.com/stolostron/hypershift-deployment-controller/pkg/constant     [no test files]
ok      github.com/stolostron/hypershift-deployment-controller/pkg/controllers  2.535s  coverage: 77.0% of statements
ok      github.com/stolostron/hypershift-deployment-controller/pkg/controllers/autoimport       0.037s  coverage: 61.5% of statements
?       github.com/stolostron/hypershift-deployment-controller/pkg/helper       [no test files]
ok      github.com/stolostron/hypershift-deployment-controller/test/integration 20.662s coverage: [no statements]

/lgtm


Add multi-package support to JS release pipelines

All of the JS release pipelines can only publish one package at a time. All of the other language release pipelines support multi-package releasing.
This is particularly important as the IoT team is going to be releasing through our partner pipeline soon and they have multiple packages they'll be releasing at once.
We also need to add a release pipeline for JS from blob to internal DevOps feed for testing.

PR:
https://dev.azure.com/azure-sdk/internal/_git/azure-sdk-build-tools/pullrequest/13


refactor: update/add committee data types (BFT-443)

What ❔
Adding minimally needed changes to support https://github.com/matter-labs/zksync-era/pull/2518, as part of committees rotation (BFT-484).

Adding pop: validator::Signature (proof-of-possession) field to WeightedValidator.
Adding ValidatorCommittee & AttesterCommittee types to provide protobuf formatting for DB store.

Why ❔
These types cannot be placed in zksync_node_consensus because they are required by zksync_dal::consensus_dal, which is a dependency of zksync_node_consensus.

Closing in favor of not introducing cross-repo integration, and instead having https://github.com/matter-labs/zksync-era/pull/2518 to add temporary data type clones.


CDN doesn't work in Chrome due to MIME type 'text/html'

I got this error message in Chromium:
"Refused to execute script from 'https://cdnjs.com/libraries/1000hz-bootstrap-validator' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled."
This is when using the CDN, I haven't tried downloading and installing the module.

That's not the address of the actual resource, but the link to the CDNJS library page.
Following that link shows you the actual CDN urls:
https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.9/validator.js
https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.9/validator.min.js


Question - Default key/type/name

What would be the best method to insert a set of default keys and values for them also push/store them to all users including new ones when they join too?

You could set custom fields to "default" values when a user is created - https://github.com/NodeBB/NodeBB/blob/b692dd87cd70b852ad619fd72358438d2805b2d8/src/user/create.js#L146 Action: action:user.create.
The overall idea with default values is a bit tricky. Custom Fields are considered as optional. The plugin is smart enough to skip custom fields which the user did not fill.


Gives access to the pom for further configuration

Adding support for the most common pom properties. Also gives users of this lib direct access to the pom.
Usage (groovy):
javaArtifact {
    artifactId = '$artifactId'
    name = "Pretty cool library"
    description = "Does awesome things and improves code"
    url = 'https://github.com/$user/$projectname'
    license {
        name = 'The Apache License, Version 2.0'
        url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
    }

    pom { // access to raw pom file for additional, non tirival properties
       developers {
           developer {
               id = '$user'
               name = '$fullname'
               email =<EMAIL_ADDRESS>               url = 'https://github.com/$user'
           }
       }
    }
}

Fixes #66
Fixes #65
Fixes https://github.com/StefMa/bintray-release/issues/26

TBH I find the implementation in #66 better.
Since the "normal" user doesn't know anything about a "POM". What it is and so one.
But give the user the ability to setup "itself as developer" or "the license" he would set it up.
Beside of this:

The POM.name could be set via the Project.name.
The POM.description could be set via Project.description
Having multiple license is not for the "mainstream". When you have multiple license you care about how to publish and use the maven-publish plugin directly

I would implement something like
artifactId = "" // as it was before
license {} // as it was before

url = "https://github.com/passsy/gradle-gitVersioner-plugin" // new
developer = {} // new but same as license. This is just the "main developer" or an organization.

The developer should have the properties

name // could be "Stefan M." or "grandcentrix"
email // could be "stefmadev at outlook dot com" or "android-developers at grandcentrix dot net"
url // could be - as you suggested - the github.com url or any other website...
The other properties are totally akward..
See https://docs.gradle.org/4.10.2/javadoc/org/gradle/api/publish/maven/MavenPomDeveloper.html

I mean, what is a "developer id" :D

All updated, I hope you like it now more 😉

I was not a fan of the license property in the beginning but after I used the pom DSL from kotlin I am. Our license can be written like:
javaArtifact {
  license {
    name = 'The Apache License, Version 2.0'
    url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
  }
}

the gradle pom DSL uses the new Property<String> syntax which is fine in groovy but sucks in kotlin
javaArtifact {
  pom {
    license {
      name.set('The Apache License, Version 2.0')
      url.set('http://www.apache.org/licenses/LICENSE-2.0.txt')
    }
  }
}

That's when I began to realize that this DSL here is much more preferable. pom should therefore only be used as a last resort.
Additionally, removing the license property and spec results in a compile error, preventing to build the project. For backwards compatibility, we can't remove it right away. Also, using our own dsl here allows us to port back that functionality to Gradle 4.7 and below which is pretty cool.
I'll add the missing tests 👍

I haven't added a test - but when I have tried it a new section with the given "license" will be added instead of overriding..
This is fine for now...

Thank you @passsy!


Rename request of 'The IoT Guru Integration' to 'IoTGuru'

Hi,
We want to rename the library according to the Arduino Library lint rules:
WARNING: library.properties name value The IoT Guru integration is longer than the recommended length of 16 characters. (Rule LP010)
WARNING: library.properties name The IoT Guru integration contains spaces. Although supported, best practices is to not use spaces. (Rule LP015)

The repository URL is https://github.com/IoTGuruLive/theiotguru-arduino-library
The renamed version is already released as v1.3.1 version.
Thanks,
Gábor AUTH

Hi @gaborauth. The requested change is now in progress.
Unlike submissions, this type of request is still handled manually. The Library Manager index maintainer occasionally comes through to clear all the outstanding requests and closes those issues/PRs when that is done. If you are subscribed to this issue, you'll get a notification at that time.
After that, you can monitor the indexing of the library via its dedicated logs web page.
Information about that here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager

Engine maintenance done!
2021/12/17 17:55:07 Loaded 4443 libraries from DB
Removing The IoT Guru integration
Success!


Potential bug in ScanNodeID after deletion.

There is probably a bug when trying to scan node ID with semi mask + node deletion.

Solved in #3176


Why forbid rake 13.0?

The gemspec says spec.add_dependency "rake",   ">= 10.0", "< 13.0"
https://github.com/nevans/resque-pool/blob/master/resque-pool.gemspec#L33
This means if a project has resque-pool in it's gemfile, it is prevented from working with latest rake 13.
Is this intentional? Accidental?  Rake is kind of weird, I wonder if rake should be in the gemspec at all.
It looks like the only backwards incompat listed for rake 13 is dropping support for MRI versions less than 2.2; so there's probably no reason not to allow at least rake 13 (along with older versions as current). I will PR.

Here's the commit where the < 13 requirement was added; prior to that, the rake dependency had no upper bound.
I think it may make sense to give it no upper bound again (but maybe still >= 10) so a new resque-pool release doensn't have to be made every time there's a new rake major release.
On the other hand, this would open up risk that a rake major release could break resque-pool, I guess. Although that seems relatively unlikely, resque-pool uses public rake API that is unlikely (although not impossible) to change.
Thoughts?

Sorry for taking so long to get around to merging #183 and releasing v0.7.1.  I sometimes missed the github notifications.
I'm not sure whether I prefer with or without an upper bound, but bundler gem recommended adding the upper bound, so I took their advice! :)


Add ability to clear Depth and Stencil

Wanted a more centralised place to handle this. At some point in the future we'll probably need clear flags in there, but this is fine for now.

Can we be sure we aren't regressing other framework consumers that may have been clearing individual areas individually?

If they used it, ClearColour cleared everything anyway.

So it did...


How to safely stop the images

File: compose/rails.md

Note: If you stop the example application and attempt to restart it, you might get the following error: web_1 | A server is already running. Check /myapp/tmp/pids/server.pid. One way to resolve this is to delete the file tmp/pids/server.pid, and then re-start the application with docker-compose up.

Unless Ctrl-C is not the preferred way to terminate the process, this issue happens 100% of the time (for me*). Per docker/compose#1393, the workaround is to change the command to the following:
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '<IP_ADDRESS>'"

Would there be any opposition if I were to create a PR which amended this tutorial? If not, would the preference be to A.) update the command line directly and remove the note or B.) amend the note to suggest this alternative?

* — System/environment specs are as follows (macOS):
Version 1.12.5 (14777)
Channel: Stable
3e6f00c1dc

See the response on #3730 about why we are going to leave this as it is. Thanks!

I came across this problem myself. Another approach, if you don't re-use your containers (e.g. if you use the '--rm' flag) is to specify -P /tmp/rails.pid in the startup command. This means you can run the same Rails app in multiple containers, and the pidfile gets automatically deleted with the container.
rails/rails#36486


Tox testing and handlers

I added tox setup and moved the incrementing logic to handler so that in the future we can use these for other platforms such as datadog without having to add redundant dependencies for the basic functionality.

Pulling out a handler class makes a lot of sense, nice thinking.


Change logo's font style and color

To differentiate the logo text "Freshbey" in the navbar, I need the font and color to be changed.
Desired font style: League Spartan Semi Bold 600
Desired Color: --bg-green (declared in the index.css file)

Note: The change should be to that particular text only.

Please assign this to me so that I could work on it

I can work on this issue, kindly assign it to me.

Sure you can work on this @Utkarsh212 Reference the README file for styling libraries and themes used in this project.

@roopeshsn sure

@roopeshsn I have fixed the issue. Refer PR: #62


[SearchInput] clear prop causes clear icon and search icon to overlap

Issue Type
Bug Report
Component or Pattern Affected
SearchInput
Expected Behavior
The search_icon and the clear_icon should not overlap in the SearchInput. Don't know if it's quite a "bug" but it's unexpected behavior.
Current Behavior
If you pass the clear prop to SearchInput, the two icons overlap.
Possible Solution
1 - Maybe move search_icon the the left when using the clear prop?
There are a number of examples in the collab offerings that use an input with a search icon on the left and a clear icon on the right.

^ this example used Input and Icon and manual css overrides to get desired behavior
Steps to Reproduce (for bugs)
https://codesandbox.io/s/r540noq79q
make sure to type in the SearchInput so that the clear icon appears.
Context

Your Environment

Library: React, Core, Icons
Version used: Latest
Browser Name and version: Chrome and FF
Operating System and version: macOS

@robstax The issue is the way in which className is being used.  It should be applied to inputClassName.  That being said, the reason this issue has not been closed is because for future inputs we have decided to add a new InputSection component.

Fixed by #376


waffle.io Badge

Merge this to receive a badge indicating the number of issues in the ready column on your waffle.io board at https://waffle.io/Cardshifter/Cardshifter
This was requested by a real person (user Zomis) on waffle.io, we're not trying to spam you.

I don't think this is necessary, closing this.


Update Assignment 1.md

Assignment I

I copied your updated explanation about symm/asymm! Looks good!

Hi Elena, I think the tables and explanations for Trans/Asymm (Giacomo) and Trans/Irref (Jisoo) are missing. Let me know if you want to copy and paste from mine! I can send you the codes so you can easily plug them in!


Unable to use Dependencies

KScript is failing to resolve dependencies on Maven Central.  This was working, now it's not.
Script configuration:
@file:MavenRepository("mavenCentral", "https://repo.maven.apache.org/maven2")

@file:DependsOn("org.yaml:snakeyaml:1.28")

-- I've added the firm declaration to mavenCentral in an attempt to force it to use this as a repository, we have other repos configured in our ~/.m2/settings.xml and ~/.gradle/init.gradle.kts, but I do not intend to ever use private repositories with kscript, I only want to use public libraries, such as this YAML parser.
Error I get when running this script:
./script.kts
[kscript] Resolving dependencies...
[kscript] Resolving org.yaml:snakeyaml:1.28...
[kscript] Resolving com.github.holgerbrandl:kscript-annotations:1.4...
[kscript] [ERROR] Failed while connecting to the server. Check the connection (http/https, port, proxy, credentials, etc.) of your maven dependency locators. If you suspect this is a bug, you can create an issue on https://github.com/holgerbrandl/kscript
[kscript] [ERROR] Exception: java.lang.RuntimeException: File 'org.yaml:snakeyaml:1.28' not found
org.eclipse.aether.resolution.DependencyResolutionException: Failed to read artifact descriptor for org.yaml:snakeyaml:jar:1.28
org.eclipse.aether.resolution.DependencyResolutionException: Failed to read artifact descriptor for org.yaml:snakeyaml:jar:1.28

Alternatively, is there a way to enable more error output? I'm capable of debugging things if it's something with my gradle / maven configuration on my machine, but, this doesn't even tell me where it's looking to try to resolve this dependency.
Can confirm this dependency exists on Maven Central: https://search.maven.org/artifact/org.yaml/snakeyaml
kscript version:
Copyright : 2020 Holger Brandl
License   : MIT
Version   : v3.0.2
Website   : https://github.com/holgerbrandl/kscript
Kotlin    : 1.4.31-release-344
Java      : JRE 1.8.0_275

I finally figured out it's reading my ~/.m2/settings.xml, but this doesn't correctly resolve (although, I can build traditional maven projects just fine) - maybe there's a way to disable this?
Is it a side-effect that this inherits maven config? Isn't Kscript trying to provide a whole ecosystem for these dependencies?
https://github.com/holgerbrandl/kscript/blob/master/src/main/kotlin/kscript/app/DependencyUtil.kt#L98

Kscript is just using the platform dependency resolver (that ships with kotlin). Afaik private repos pw-protected repos are supported by the resolver.
If you think that there could be an issue with that you could submit a ticket to https://youtrack.jetbrains.com/issues/KT. Not sure how to prepare a reproducible example though, but maybe you could at least provide some abstraction of how you declare your repo in your settings.xml.  (@ligee?)

It will be nice to reproduce it in the kotlin environment before submitting an issue. The simplest way is to take examples repo and modify a test in this project - https://github.com/Kotlin/kotlin-script-examples/tree/master/jvm/basic/jvm-maven-deps
For debugging and more advanced usages you'll need to get a kotlin repo and look at this code https://github.com/JetBrains/kotlin/blob/master/libraries/scripting/dependencies-maven/src/kotlin/script/experimental/dependencies/maven/impl/aether.kt and tests around this module.

Here's an example of the settings.xml we're using - these internal repos proxy any public ones.
I guess my confusion lies in the fact that this project allows for specifying additional / standalone repository configuration, but, is that even used if I have a settings.xml?  If this project is trying to provide repository configuration, then, shouldn't it entirely ignore my settings.xml anyways?
<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"
          xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <servers>
        <server>
            <username>username</username>
            <password>password</password>
            <id>internal-readonly</id>
        </server>
    </servers>
    <mirrors>
        <mirror>
            <mirrorOf>*,!internal-releases,!internal-stage,!internal-snapshots</mirrorOf>
            <url>https://internal.com/repository/internal-snapshots-group/</url>
            <name>internal-snapshots-group</name>
            <id>internal-readonly</id>
        </mirror>
    </mirrors>

    <profiles>
        <profile>
            <id>artifact-repo</id>
            <repositories>
                <repository>
                    <id>internal-release</id>
                    <url>https://internal.com/repository/internal-releases/</url>
                    <snapshots><enabled>false</enabled></snapshots>
                    <releases><enabled>true</enabled></releases>
                </repository>
                <repository>
                    <id>internal-stage</id>
                    <url>https://internal.com/repository/internal-stage/</url>
                    <snapshots><enabled>false</enabled></snapshots>
                    <releases><enabled>true</enabled></releases>
                </repository>
                <repository>
                    <id>internal-snapshot</id>
                    <url>https://internal.com/repository/internal-snapshots/</url>
                    <snapshots><enabled>true</enabled></snapshots>
                    <releases><enabled>false</enabled></releases>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <snapshots><enabled>false</enabled></snapshots>
                    <releases><enabled>true</enabled></releases>
                    <id>internal-release</id>
                    <name>plugins-release</name>
                    <url>https://internal.com/repository/internal-releases/</url>
                </pluginRepository>
                <pluginRepository>
                    <snapshots><enabled>false</enabled></snapshots>
                    <releases><enabled>true</enabled></releases>
                    <id>internal-stage</id>
                    <name>plugins-stage</name>
                    <url>https://internal.com/repository/internal-stage/</url>
                </pluginRepository>
                <pluginRepository>
                    <snapshots><enabled>true</enabled></snapshots>
                    <releases><enabled>false</enabled></releases>
                    <id>internal-snapshot</id>
                    <name>plugins-snapshot</name>
                    <url>https://internal.com/repository/internal-snapshots/</url>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>

    <activeProfiles>
        <activeProfile>artifact-repo</activeProfile>
    </activeProfiles>
</settings>

I've tried again, and it seems to work (without any additional settings.xml)
brandl@ubuntu:scratch$ kscript issue308.kts
[kscript] Resolving dependencies...
[kscript] Resolving org.yaml:snakeyaml:1.28...
[kscript] Resolving com.github.holgerbrandl:kscript-annotations:1.4...
[kscript] Dependencies resolved

System settings
brandl@ubuntu:scratch$ kscript --version
...
Kotlin    : 1.4.31-release-344
Java      : JRE 11.0.10+9

Marking this as closed - I no longer have access to the settings.xml that was causing this problem, so there's no need to pollute this repo with the issue, especially since you can't reproduce it. Thanks for looking into this!


Annotation file Import Feature?

hey ....i have an dataset that has Dogs image of 120 breed as classes each folder contaions 150 to 200 images of that particular dog...like german shephard folder has 130 images rodweiler has 130 images etc...i also have annotation files associated with these images...each image has its own annotation file that has bounding boxes..
Annotation file structure is like :
DOGS_ANNOTATION > GERMAN SHEPHARD > DOG_1_Anno.file
2nd image like:
DOGS_ANNOTATION > GERMAN SHEPHARD > DOG_2_Anno.file and so on ..same structure for other dogs image
Now come to my problem:
i m following pikachudetection where its using index.file(i dont know where to find it) as annotation file..but my dataset is huge and contains annotation.file for each image...how can i use it to train my ssd detector..i cant find any example clear road in DJL..python has easy structure but ...In java lots of classes in the docs..please Guide me...

Don't worry about the index.file as it doesn't seem to fit your data. I recommend just creating custom parsing of the annotation files in their format.
What you will need to do is:

Create a dataset class extending ObjectDetectionDataset
Have the dataset read all image annotation files and save them to an instance variable
Implement the abstract functions using those instance variables

Can you give me an simple example about all this ...It will be a good starting point for me..?

You can find the classes that extend ObjectDetectionDataset in an IDE. Take a look at https://github.com/deepjavalibrary/djl/blob/master/basicdataset/src/main/java/ai/djl/basicdataset/cv/CocoDetection.java. It has a bunch of code for the ModelZoo repository, but you can ignore those parts.

hey i m getting trouble undestanding cocoutils...i just want to clarify some things....
1.please first check my annotation file
german_shephard_anno.file
n02106662_104.txt
i have 250 german shepard images each have its own .file for labels..
i have 150 unique dogs folders contains .file for each image..
now in CoCoDataset its reading json file ..my stucking point is..
how can i create dataset to match all labels with their corresponding images.....pikachu detection have only 1 class so there its not clearly solving my problem which contain 150 diffrent class ...pikachu index.file contain BoundingBoxes for all pikachu images But Mine dataset have one index.file per image...how can i create dataset...CocoDataset is Complex to Understand for Me...? please suggest me

If you have an IDE, just create a class extending ObjectDetectionDataset and have it add the required methods. In prepare, load all of the .file files into instance variables. You will need to write this function yourself, and possibly use an XML library because you data is in XML. Then, you have a few getImage and getObjects functions to fill in with the data from your instance variables.

So I need to add all boundingbox in list instance variable ..Associated with image id...Ok I'll do that then let you know..?


Numeric field of all zeros not encoded correctly

I am trying to construct a message which has processing code of all zeros. This is a common situation, combination of MTI 0100 and processing code 000000 represents sale.
However I get an error when trying to decode such a message:
failed to unpack field 3 (Processing Code): failed to decode content: not enough data to decode. expected len 3, got 1
Here is my code for setting fields:
request := iso8583.NewMessage(iso.Spec)
	request.MTI("0200")
	request.Field(2, "4242424242424242")
	request.Field(3, "000000")

My spec for these fields:
               0: field.NewString(&field.Spec{
			Length:      4,
			Description: "Message Type Indicator",
			Enc:         encoding.BCD,
			Pref:        prefix.BCD.Fixed,
		}),
		1: field.NewBitmap(&field.Spec{
			Description: "Bitmap",
			Enc:         encoding.Binary,
			Pref:        prefix.Binary.Fixed,
		}),2: field.NewString(&field.Spec{
			Length:      19,
			Description: "Primary Account Number",
			Enc:         encoding.BCD,
			Pref:        prefix.BCD.LL,
		}),
		3: field.NewNumeric(&field.Spec{
			Length:      6,
			Description: "Processing Code",
			Enc:         encoding.BCD,
			Pref:        prefix.BCD.Fixed,
		}),

I captured the message with wireshark, I think the issue is that the processing code in this case in encoded as one 0x00  byte.
Instead it should be encoded as three zero bytes: 0x00 0x00 0x00

@fresanov if it's still relevant, here are some questions to clarify the issue:

who is sending the message via network? is it you?
can you provide a raw data here (hex encoded) if it does not contain sensitive information such as PAN.
when you pack the message, what is the packed value?

@alovak
Thank you for the response.
I determined that the root cause of this behavior is this method in numeric.go file in "field" package:
`func (f *Numeric) SetBytes(b []byte) error {
if len(b) == 0 {
// for a length 0 raw, string(raw) would become "" which makes Atoi return an error
// however for example "0000" (value 0 left-padded with '0') should have 0 as output, not an error
// so if the length of raw is 0, set f.value to 0 instead of parsing the raw
f.value = 0
} else {
// otherwise parse the raw to an int
val, err := strconv.Atoi(string(b))
if err != nil {
return utils.NewSafeError(err, "failed to convert into number")
}
f.value = val
}
if f.data != nil {
	*(f.data) = *f
}
return nil

}`
On line 50 ( val, err := strconv.Atoi(string(b)) ) casting a byte slice of zeros of any length to string will result in single '0' character string and subsequently when converting it to int this will result in a single 0 digit.
I  will try your workaround.
Thank you.

@fresanov please, feel free to close the issue if the solution worked for you


fix: attach cookies to agent after plugin is used

This fixes the issue whereby if request.url is modified in a plugin for an agent (eg. superagent-prefix), cookies are not preserved across different requests, using that agent (see issue #1164).
This is fixed by simply executing agent._attachCookies() after agent._setDefaults().
Note: this is my first pull request ever.

v5.3.0 published to npm and GitHub releases page with changelog


Porting\Adding OpenSSL RSA\Pkey features

I think that a big part missing in the OpenSSL lib is the RSA and Private\Public key bindings.
I can try to add some, but looking at Ruby sources they built there own C wrappers around those parts.
How should I proceed with this ? does someone working on that ?

There's this but it's outdated. I've been upgrading it every Crystal release on my computer because I need it for a project of mine but I don't have enough knowledge on the subject to keep a public updated fork.

@Exilor we had this open: https://github.com/crystal-lang/crystal/issues/1710
And it seemed that it just fizzled.
Maybe we should fork it and PR it to the main Crystal repo, as in addition to OpenSSL and not as an external shard

@bararchy I agree but as I said I'm not knowledgeable with this so I can't be of much help :/
For instance, OpenSSL::MemBIO is a struct defining a #finalize which is not currently allowed. I changed it to a class and it does the job but that's just me fiddling with the code until it works. But I don't know why it was a struct in the first place or if memory will leak if it's a class.
If you feel able then by all means go ahead (if asterite is ok with it).

@Exilor If @datanoise was still around we could ask him technical details, TBH , I , like you , am not that knowledgeable in regards to the small details of C-Crystal bindings and structures of types, I guess we need someone to "keep an eye" on those commits\PR's and make sure that if we change stuff it's not bad.

You may look at the Ruby API (not the implementation) but also the OpenSSL C API, see how they are different or similar, then try to implement the features. Keep in mind that macOS still ships with OpenSSL v0.9.8 and many Linux LTS releases ship OpenSSL v1.0.x; some features may not always be available.
Linking to C isn't complex. You may use crystal_lib to generate the initial bindings for example. Constants, enums, structs and functions will be generated automatically from C headers. You'll may want to clean them up, thought, because C uses so much aliases and defines that the generated bindings are usually not pretty.
Once you have them, you merely call the lib functions. If you receive a pointer to a C struct, you most likely will have to free it, using a special OpenSSL function to achieve so. You need a class and a #finalize method for that, because Crystal struct are allocated on the stack and the GC won't collect them (i.e. memory leak) and thus will never call #finalize —hence why it's now forbidden on struct.
Make sure to never expose raw C pointers, except through #to_unsafe. Always verify that a returned pointer isn't a null pointer, then either raise or return nil depending on the situation.
If you need to allocate a C struct on the stack (unlikely) you may x = uninitialized LibSSL::MyStruct or x = LibSSL::MyStruct; if you must allocate a struct and return it, allocate heap memory, you may ptr = Pointer(LibSSL::MyStruct).allocate.
And that's about it. If you're unsure about what API to use, you may open an issue first.

If it's enough pain to support multiple OpenSSL versions, possibly crystal could just bundle "a good version" and require its compilation and use if the local installed one is out of date or what not? Just thinking out loud :)

No. OpenSSL et big and flawed. We must let official packagers deal with that.

@ysbaddaden Good idea about using the crystal_lib, sadly it seems not to work (crashes on the exmaples) , I opened a ticket.

@ysbaddaden your answer should be put in C bindings section

Please feel free to copy-paste, rephrase a bit and open a pull request :-)

Hey, I'm completely new to Crystal but really need RSA support in the stdlib.
I've written this using the Ruby API (minus all the aliases) and the datanoise library mentioned above as inspiration.
There is only one flaw I can find so far and that is that I can't seem to write out the RSA priv/pub key to a .pem file when using a passphrase. Reading in seems fine - if anyone is able to help with that at all that would be greatly appreciated as openssl doesn't throw any errors on my machine for this.
Since I'm completely new, I am not 100% sure about the naming conventions, presentation etc when contributing to the stdlib. Is anyone able to skim over my fork before I submit a PR?
https://github.com/crystal-lang/crystal/compare/master...randomstate:feature/openssl-rsa?expand=1
Thanks 👍

@CImrie It's probably best if you open a PR anyway (tagged as [WIP]) so it's easier for others to review your code and comment on it.

@straight-shoota Thanks, I've opened one 👍

Closing this as it was discussed it would be handled in an outside shard


Add Stackbit Integration

This pull request add's Stackbit to this Hugo theme. It add's the stackbit.yaml file which makes this theme work with several headless CMS automatically (including Forestry, NetlifyCMS, DatoCMS & Contentful) and it deploys the site to Netlify in 1 click.
You can try it out: https://app.stackbit.com/create?theme=https://github.com/stackbithq/hugo-theme-jane (note the "create with stackbit" button in the readme will import the theme from your repo so until the PR is merged it wont work)
I think this is really valuable and is a very low impact addition on your existing theme structure. Pretty much just the stackbit.yaml file. If you have questions or feedback I'm happy to discuss.
Risto

@RistoBIn This looks great! Thanks for your PR! :smile:


added 3 android development resources for beginners

added 3 links for Native android development resources which will help beginners to kickstart  their android development journey

Thanks a lot for your contribution.
Looking forward for more such resources which helps others and make the community grow. ❤


remove wrong P around LIs

Shouldn't in theory there be a UL around the LIs?
I guess we are lucky that HTML5 is so error-tolerant (this change doesn't change the visual output)
Btw I am really looking forward to the 2.072 branch-off, s.t. we can introduce more automation to this error-prone process.

Shouldn't in theory there be a UL around the LIs?

BUGSTITLE puts the LIs into an OL (in changelog.ddoc).

BUGSTITLE puts the LIs into an OL (in changelog.ddoc).

Oh sorry, LGTM then ;-)

Wasn't this autogenerated with changed.d? So maybe the script needs to be fixed if using that macro is wrong.

Wasn't this autogenerated with changed.d? So maybe the script needs to be fixed if using that macro is wrong.

Indeed.-> https://github.com/dlang/tools/pull/199

Please stop manually editing those files and fix the tool instead.

Also there are plenty of existing changelogs w/ those  tags, so either fix all or none of them.

tool got fixed

either fix all or none of them.

Fixing all of them: https://github.com/dlang/dlang.org/pull/1479


afterAll not invoked after completing a test suite in protractor

I am using protractor(3.2.2) with jasmine (2.4)
When invoking protractor tests sequentially the afterAll() function is not invoked after a test suite (describe).I see it being called after the first test in the second suite.I have the logout function on afterAll() and this causes all subsequent tests to fail.
This is how my conf.js looks like
suites: {
   regression :[
          'specs/first.test.js',
          'specs/second.test.js',
          'specs/third.test.js',
          'specs/fourth.test.js'
        ]
},

Only the first test suite is successful.
The afterAll gets called in the first test of second.test.js and all tests start failing
This is the setup and teardown in each test suite
beforeAll(function () {
loginPage.login();
browser.waitForAngular();
});
afterAll(function () {
   logout();
});

This issue (sounds like a support question) but to get more clarity, more information is required:

In your test suites, it is unclear if afterAll appears in each javascript file
It is unclear what your configuration file looks like (please see the issue template)
Are you doing something asynchronous in this logout method? What is actually happening in this logout method?
Are there any appropriate logs that could be provided?

Yes each javascript file has setup and tear down (beforeAll and afterAll)
conf.js looks like this
var Jasmine2HtmlReporter = require( 'protractor-jasmine2-html-reporter' );
var jasmine2SpecReporter = require( 'jasmine-spec-reporter' );
var d = new Date();
var testOutput = new Jasmine2HtmlReporter( {
savePath: 'test-output',
filePrefix: d.getFullYear() + '' + (d.getMonth() + 1) + '' + d.getDate() + "Test_Report.html",
takeScreenshots: false,
takeScreenshotsOnlyOnFailures: true,
fixedScreenshotName: false,
consolidate: true,
consolidateAll: true
} );
//------------------Platform connections ----------------------------------------------------------
// Letting Protractor know how to connect to drivers for the browser through Selenium Server
exports.config = {
seleniumAddress: 'http://<IP_ADDRESS>:4444/wd/hub',
//-------------------Tests to run ------------------------------------------------------------------
// specs: [
//     'specs/*.js'
// ],

//------------------ Patterns to exclude ----------------------------------------------------
exclude: [],
suites: {
   regression :[
      'specs/first.test.js',
      'specs/second.test.js',
      'specs/third.test.js',
      'specs/fourth.test.js'
    ]
},

//--------------------------- Setting up Browser---------------------------------------------
capabilities: {
    'shardTestFiles': true,
    'maxInstances': 1,
    'browserName': 'chrome',
    'chromeOptions': {
        'args': ['disable-extensions', 'start-maximized']
    }
},

//-------------------Global test information-------------------------------------------------
//-------------------- Timeout in milliseconds for each script run ----------------------
allScriptsTimeout: 11000,
//----------------------Page wait time ---------------------------------------------------
getPageTimout: 10000,

//------ This if true will restart browser between tests----------------------
restartBrowserBetweenTests: false,

//---------------Test framework---------------------------------------------------------
framework: 'jasmine2',
jasmineNodeOpts: {
    onComplete: null,
    isVerbose: true,
    showColors: true, // is True, prints colors to terminal
    includeStackTrace: true,
    defaultTimeoutInterval: 30000, // wait time in ms before test fails
    print: function () {} // to print Jasmine results
},

//----------------------Settings before tetscases to be executed-------------------------
onPrepare: function () {

    browser.get(baseURL );

    // Add HTML Reporter
    jasmine.getEnv().addReporter( new jasmine2SpecReporter( {displayStacktrace: 'all'} ) );
    //  jasEnv = jasmine.getEnv();

    jasmine.getEnv().addReporter( testOutput );

}

};
==================
afterAll and beforeAll looks like this
beforeAll(function () {
loginPage.login(username,password);
browser.waitForAngular();
});
afterAll(function () {
    LogoutFn.logout();
});

logout.js is like this
var LogoutFn = function(){
this.userPanel = element(by.id('userpanel');
this.logout = element(by.id(logout()));
this.okBtn =element(by.id('okbtn');
this.cancelBtn = element(by.id('canel');
this.logout = function(){
    this.userPanel.click();
    this.logout.click();
    this.okBtn.click();
}

};
module.exports = new LogoutFn;
In each javascript test file i import var LogoutFn = require("../commons/logout.js");

Any updates on this

The only thing that looks unusual is
capabilities: {
    'shardTestFiles': true,
    'maxInstances': 1,
    'browserName': 'chrome',
    'chromeOptions': {
        'args': ['disable-extensions', 'start-maximized']
    }
},

So you are sharding the test files but you want it to logout before the next file starts? This would be my guess.

I corrected it and took that out of conf.js but still don't see the logout happening

Any updates? It seems that I've faced with the same problem. Logout in the afterAll doesn't invoked. However beforeAll is invoked, and since in the beforeAll I have login all tests except first are failed.

afterAll was invoked correct.The locators had changed in my case.Hence closing this.

The same issue i am facing afterAll logout is not invoked but instead if i use afterEach the logut invokes . Can u pls suggest me


Navigate to Event (DayView, WeekView)

Is it possible to programmatically navigate to an Event in DayView, WeekView ?
For example:
Let's say in a Row I have a ListView of events on the right and the calendar on the left.
The calendar displays the same events as the ListView.
What I want is to be able to click on an event in the ListView, and the calendar will navigate to the week of this event if in WeekView or the day if in DayView.

Never mind, it was in the readme…


Use sql.Named instead of positional arguments

The SQL queries in user.go and product.go use positional argument to the query. I find it more readable and less error prone to use named arguments with sql.Named:
	INSERT INTO users
		(user_id, name, email, password_hash, roles, date_created, date_updated)
	VALUES
		($1, $2, $3, $4, $5, $6, $7)`

Becomes
	INSERT INTO users
		(user_id, name, email, password_hash, roles, date_created, date_updated)
	VALUES
		(@user_id, @name, @email, @password_hash, @roles, @date_created, @date_updated)`

Funny, I inherited this code and figured it was a sqlx thing. I will look into this for sure because I think it can potentially simply the logging. Thanks!

I just pushed a new release that uses named arguments. Built some nice support in the database package for query calls.  Thanks for the tip.


Add aivoicegenerator.org

Add aivoicegenerator.org to the list of speech tools

Thank you for the suggesteion, but I must reject it for now. The demo is very limited and produces noise for many prompts.


Please support reading SAM-tagged FASTQ and/or unaligned SAM/BAM

Thanks!

Could you expand on this? I could see a sam/bam tagged with BC and sample index. What is sam-tagged fastq? It would also need to be barcode sorted. This tool is meant to be used as part of a pipeline which barcode sorts and makes the expected format. The 10x longranger pipeline does this. I guess we could provide better support if we knew what use case you are pursuing. We could take that conversation off the public forum if you prefer. My email is<EMAIL_ADDRESS>Also useful to know is my boss's email<EMAIL_ADDRESS>

Hi, Haynes. I'm happy discussing in public so long as you are. Fire me an e-mail if you'd prefer to discuss in private (see https://github.com/sjackman for my e-mail).
An interleaved SAM-tagged FASTQ file is the format output by longranger basic. For example
@HISEQX5:19:HYN5VCCXX:4:1214:23155:21315 BX:Z:AAACACCAGACAATAC-1
TACCCAAAACACATGGACCCGAAAAACCACCTTCTTTGACCTAAAAACATATTTAACTCATTAACTCTTTCATCGAGTCAAGGTTAACCCAACATACATGCCCCCGCCACATATTCAATATACCTAAA
+
JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJFJ
@HISEQX5:19:HYN5VCCXX:4:1214:23155:21315 BX:Z:AAACACCAGACAATAC-1
GCAAATGGGAATATGTCTGTAAGACCTGGATAGGCATGCGTACCCCTATTTTATCAGGTCACCTATGAAAAGTCTAGACATAGATTTAGGTATATTGAATATGTGGCGGGGGCATGTATGTTGGGTTAACCTTGACTCGATGAAAGAGTTA
+
AAFFFJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJFJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ<FFJFFFFJFJJ7FAFJJFFJJJJJJJAJFJJJJF<F<

It would also need to be barcode sorted.

That's okay by me.

I guess we could provide better support if we knew what use case you are pursuing.

I'm aligning the 10x Chromium reads to an assembly of Sitka spruce (Picea sitchensis) assembled using ABySS. I'm now attempting to detect misassemblies and scaffold the assembly using ARCS/LINKS. I'm focused currently on assembling the organellar genomes, and in particular the 6 Mbp mitochondrial genome from a single 10x library and lane of whole genome sequencing. Roughly 1 in 10 barcodes contains a molecule of mitochondrial origin. I'll be trying out Supernova as well. I'm not yet sure if it scales to a 20 Gbp genome, but I haven't tried yet.

@adam-azarchs Would you consider supporting reading the BX:Z: tagged output of longranger basic as input to Lariat?


TOFIX: 1.8.4

[x] bug: nicktroll nickname input must be <32 chars

[x] bug: uwuify fails on blank messages

[x] undocumented: playnoise options

[x] readd accidentally removed user request with proper cuts

[x] improve ui for ratio

[x] improve verbose failure message including command ran

[x] put legal docs into a folder

planned:
add feature for a customrole with a shitty name (troll)
tts option for /textwall
/copypasta from r/copypasta reddit api

all done. wait for QA


feature: support gpt4all

having gpt4all supported instead of openai will enable us to run k8sgpt locally
here is the repo: https://github.com/nomic-ai/gpt4all/tree/main

Hey, there is a long term project objective to do this,.
Please follow this issue for tracking -> https://github.com/k8sgpt-ai/k8sgpt/issues/188
Thank you!


Provide default RestOperationsSupplier with default timeouts

Replace interface Supplier with RestOperationsSupplier (used to be a class),
and implements it with DefaultRestOperationsSupplier.
It takes now RestClientSettings as an argument, and the default interface sets connection timeout to 5 seconds and read timeout to 60 seconds

@benj58xu can you resolve the conflicts so that the changes can be accepted?


Bug: Target shows multiple targets when running custom configurations (Simulator, Device)

Description
When employing custom configurations, the target name includes (Simulator, Device) when it should omit.

Reproduction steps
Create a top_level_target that is impacted by multiple configurations via xcode_configurations
Expected behavior
No (Simulator, Device)
rules_xcodeproj version
14.1
Xcode version
14.3
Bazel version
6.2
rules_apple version
No response
rules_swift version
No response
Additional information
No response

Does incremental generation fix this?


Unability to edit comments of oneself.

https://github.com/user-attachments/assets/4ef2f22c-96dd-4309-bf82-4e7f5245d835
As shown in the attached video, there's an option for user to edit their own comments after posting them.
But the EDIT button is currently non-functional as it doesn't allow to edit the comment on clicking it.
I would like to work on this issue.

@Somyajain2004 You can work on it.