Deploying to Heroku

Hey Jake,
I am sort of a newbie to all of this so please excuse me if I am asking a dumb question. I used your amazing boilerplate to build a portfolio for myself. You can find it here: https://github.com/dam4222/adamperlis.com
I am trying to get this up an running on Heroku and so far I have failed every time despite following there instructions.
Any chance you can take a look and see where I am going wrong? Would be awesome to contribute these steps in your readMe for people in the future as well!
Thanks,
Adam

I feel this is a bit outside the scope of the boilerplate, but I'll try my best to help you get it up and running on Heroku.
 You're going to need that file to function as your server on Heroku. Additionally, you should modify it to serve your files from the /build directory instead of /public, so that it's serving your compiled application.
In order to ensure that your /build directory exists upon/after deploy to Heroku, you're either going to have to remove it from the gitignore and compile your app pre-deploy, or add a postinstall npm script that runs gulp prod. If you choose the latter, all the devDependencies will now be required as normal dependencies (since that's all that Heroku installs). It looks like you've completely duplicated your dependencies, but really you can remove the devDependencies if you go with the latter route.

Hey Jake,
This is super helpful! I realize that it is a bit outside scope. So thank you so much for your kind response. Hopefully someone else will benefit from it as well.
Adam

No problem! I'm going to close this issue, but let me know if you have any further troubles/questions

Hey Jake,
So I wanted to give this my best shot on my own before coming back to you. Here is what I did, I created a server like you suggested as index.js which looks like this:
var express = require('express');
var app = express();
app.set('port', (process.env.PORT || 5000));
app.use(express.static(__dirname + '../build'));
// views is directory for all template files
app.set('views', __dirname + '../build');
app.set('view engine', 'html');
app.get('/', function(request, response) {
response.render('index.html');
});
app.listen(app.get('port'), function() {
console.log('Node app is running on port', app.get('port'));
});
However, I am having trouble understanding all of the pieces here as they are new to me. The error I receive when I deploy this to heroku is as follows:
Error: Cannot find module 'html'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at new View (/app/node_modules/express/lib/view.js:78:30)
at EventEmitter.render (/app/node_modules/express/lib/application.js:569:12)
at ServerResponse.render (/app/node_modules/express/lib/response.js:961:7)
at /app/index.js:13:12
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at next (/app/node_modules/express/lib/router/route.js:131:13)
Any ideas?

I'm not sure what you're doing with the app.set('views'... and app.set('view engine'.... You should be able to pretty much copy all of the code from gulp/tasks.server.js to serve as your index file. That file does exactly what you're trying to do, running an Express server that serves your application and any necessary assets. It's just wrapped in a Gulp task to only run while developing, but the logic would remain the same.

Hi Jake,
Thanks again for all your help with this. I attempted what you suggested. You can have a look at the my index.js here: https://github.com/dam4222/adamperlis.com/blob/master/index.js
I just removed the gulp task and left everything else the same.
Still having the same problems but different errors. Have you had success getting it up on the running on Heroku? Maybe I am missing something?
Thanks again.
Adam
Adam

It would be helpful to see what the actual errors are that you're getting. Does the server run locally? I wouldn't bother with Heroku until it is. To test this, just run node index.js from your project root

Hey Jake, I figured it out! You were correct the server wasn't functioning properly locally. Additionally, I noticed that angular-animate had somehow been removed from the package.json as well as my scripts and was causing a errors. For the benefit of others here is a working server you can place into your root as well as the scripts you should place into the package json:
/////////* index.js *////////////
var express = require('express');
var http    = require('http');
var server = express();
server.set('port', (process.env.PORT || 5000));
// log all requests to the console
server.use(express.static('build'));
// Serve index.html for all routes to leave routing up to Angular
server.all('/*', function(req, res) {
res.sendFile('index.html', { root: 'build' });
});
// Start webserver if not already running
var s = http.createServer(server);
s.on('error', function(err){
if(err.code === 'EADDRINUSE'){
gutil.log('Development server is already started at port ' + server.get('port'));
}
else {
throw err;
}
});
s.listen(server.get('port'), function() {
console.log('Node app is running on port', server.get('port'));
});
/////////* place this into your package.json *////////////
"scripts": {
"postinstall": "gulp prod",
"start": "node index.js"
},
******move devDependencies to Dependencies.
Not sure if this is necessary but I added this buildpack by typing this into the terminal:
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-nodejs#v75 -a my-app

Good to hear, glad you got it working! Thanks for the little write-up as well.

@dam4222 I'm trying to deploy my app to Heroku too. I used your snippet to successfully build my app with Heroku (I hope you don't mind :) ). When I open that Heroku's app URL (https://assignment-editor.herokuapp.com/) I can see that my app is not working properly and the following errors spawn in my console:
Uncaught SyntaxError: Unexpected token <
angular-bootstrap-validation.js:1
Uncaught Error: [$injector:modulerr] Failed to instantiate module xmlFormEditorApp due to:
Error: [$injector:unpr] Unknown provider: e
main.js:2
What I've tried so far to get this to work:

I've created a Procfile containing: "web: node index.js"
I've executed the commands in the Readme of this repo: https://github.com/krry/heroku-buildpack-nodejs-gulp-bower

As I mentioned before, no errors show up during Heroku's deployment process. Besides that, my app works just fine when I'm running 'gulp dev'.
Does anybody know how I can fix this?
I'm sorry if I should not have posted this here (old issue)
Btw, great boilerplate! Keep up the good work. :+1:


Unable to log in to Azure / Linked accounts on Windows

SQL Operations Studio Version: sqlops 0.25.4 (475904d2b2e32e7f91284c199234399ee7d5d418, 2018-01-16T20:51:42.102Z)
OS Version: Windows_NT x64 10.0.15063

Steps to Reproduce:

Open Linked accounts
Use Copy & Open button, paste code --> Login in Browser (tried Chrome and Edge) listed as successful
Message in Studio: Error adding account. Error: Entry not found in cache.

I am using my internal Azure account, using multiple tenants & subscriptions. _When using another account with an MSDN subscription everything works fine, even though also here I got multiple tenants and access to multiple subscriptions.
C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  SimpleKeybinding  for  grid.toggleResultPane
Zone.__load_patch.consoleMethods.forEach.console.(anonymous function) @ C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296
C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  SimpleKeybinding  for  grid.toggleMessagePane
Zone.__load_patch.consoleMethods.forEach.console.(anonymous function) @ C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296
C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296 [createInstance] First service dependency of RecentConnectionActionsProvider at position 1 conflicts with 3 static arguments
Zone.__load_patch.consoleMethods.forEach.console.(anonymous function) @ C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296
C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296 [main 2:18:54 PM] Error while adding account: Error: Entry not found in cache.
Zone.__load_patch.consoleMethods.forEach.console.(anonymous function) @ C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296
C:\Program Files\SQL Operations Studio\resources\app\node_modules\zone.js\dist\zone-node.js:2296 [main 2:21:51 PM] Error while adding account: Error: Entry not found in cache.

  There is a fix pending in PR #3391.  Please let me know if that fix doesn't resolve this problem.

I'm still getting this error in Azure Data Studio as of 2/11/19


How to use xenova/transformers in VSCode Extension

Hey guys! I am trying to use xenova/transformers in CodeStory, we roll a vscode extension as well and I am hitting issues with trying to get the import working, here's every flavor of importing the library which I have tried to date.
const TransformersApi = Function('return import("@xenova/transformers")')();
const { pipeline, env } = await TransformersApi;

const { pipeline, env } = await import('@xenova/transformers')

const TransformersApi = require('@xenova/transformers');
const { pipeline, env } = await TransformersApi;

I think the crux of the issue is the node environment which VSCode uses which does not allow any of these to work, and I keep getting the deaded:
Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>from /Applications/Aide.app/Contents/Resources/app/extensions/codestory/out/llm/embeddings/sentenceTransformers.js not supported.
Instead change the require of transformers.js in /Applications/Aide.app/Contents/Resources/app/extensions/codestory/out/llm/embeddings/sentenceTransformers.js to a dynamic import() which is available in all CommonJS modules.

after checking the js code which is generated, it ends up including the require word:
__importStar(require('@xenova/transformers'))

when I used the first option which was a function I got a very weird error btw:
[Extension Host] TypeError: A dynamic import callback was not specified.
    at new NodeError (node:internal/errors:399:5)
    at importModuleDynamicallyCallback (node:internal/process/esm_loader:39:9)
    at eval (eval at <anonymous> (/Applications/Aide.app/Contents/Resources/app/extensions/codestory/out/llm/embeddings/sentenceTransformers.js:46:41), <anonymous>:3:1)

this is mostly comping from the node version which VSCode uses itself.
Do you guys have any suggestions on what I can do about this? Thanks!

I did see there is an issue which is tracking the commonjs rollout for the library, and I am n00b at all things typescript so not sure what I am doing almost always XD

well F https://github.com/microsoft/vscode/issues/130367 this is not supported by the VM being used for running the extension in VSCode.

If I remember correctly, @kungfooman mentioned a possible fix for this a while back... perhaps he can assist here 😇. This might require updating the build process (or just package.json) to let commonjs know how to consume it.
@theskcd In the meantime, could you try importing the web version (https://cdn.jsdelivr.net/npm/@xenova/transformers@2.6.1)? You won't get the best performance since it will run with WASM (onnxruntime-web instead of onnxruntime-node), but should all you to proceed until we find a proper fix.

You can use pure ESM, even though you have to start through with CJS (VSCode limitation...). The trick is to use await import:
/**
 * @param {import('vscode').ExtensionContext} context - The context.
 */
async function activate(context) {
  (await import('./register-hello-world.mjs')).activate(context);
  (await import('./register-hello-tensor.mjs')).activate(context);
}
module.exports.activate = activate;

register-hello-world.mjs:
import {add} from '#customImport';
import {vscode} from '#vscode';
/**
 * This method is called when your extension is activated, which
 * happens the very first time the command is executed.
 * @param {import('vscode').ExtensionContext} context - The context.
 */
export function activate(context) {
  // Use the console to output diagnostic information (console.log) and errors (console.error)
  // This line of code will only be executed once when your extension is activated
  console.log('> register extension.helloWorld');
  // The command has been defined in the package.json file
  // Now provide the implementation of the command with registerCommand
  // The commandId parameter must match the command field in package.json
  const disposable = vscode.commands.registerCommand('extension.helloWorld', () => {
    vscode.window.showInformationMessage(`Hello World! add(10, 20) is ${add(10, 20)}`);
  });
  context.subscriptions.push(disposable);
}

Now you may wonder - what is that import {vscode} from '#vscode';?
You can basically use your package.json like an importmap:
{
  "name": "vscode-extension-transformers",
  "displayName": "vscode-extension-transformers",
  "description": "Transformers.js example for VS Code",
  "version": "1.0.0",
  "publisher": "kungfooman",
  "repository": "https://github.com/kungfooman/vscode-extension-transformers/",
  "scripts": {
    "watch": "echo Begone, watch build step! Embracing true ESM power!",
    "vscode:prepublish": "echo Begone, prepublish build step! Embracing true ESM power!",
    "lint": "eslint \"src/**/*.js\""
  },
  "engines": {
    "vscode": "^1.74.0"
  },
  "categories": [
    "Other"
  ],
  "activationEvents": [],
  "main": "./src/extension.js",
  "contributes": {
    "commands": [
      {
        "command": "extension.helloWorld",
        "title": "Hello World"
      },
      {
        "command": "extension.helloTensor",
        "title": "Hello Tensor"
      }
    ]
  },
  "devDependencies": {
    "@types/node": "^16.18.34",
    "@types/vscode": "^1.73.0",
    "eslint": "^8.26.0"
  },
  "imports": {
    "#customImport": "./src/customImport.mjs",
    "#vscode": "./src/vscode.mjs"
  },
  "dependencies": {
    "@xenova/transformers": "^2.6.1"
  }
}

And ./src/vscode.mjs has to look like this:
import {createRequire} from 'node:module';
const require = createRequire(import.meta.url);
export const vscode = require('vscode');

Tada, problems solved - have fun with ESM. If you use TypeScript, drop it now: it just creates extra headaches through AST transformations etc.
Too much code? I made a complete test repo here:
https://github.com/kungfooman/vscode-extension-transformers
Just clone and open in VSCode and press F5. Typing is done through JSDoc - Pure ESM code, full typing, no TS build step headaches:

You can use pure ESM, even though you have to start through with CJS (VSCode limitation...). The trick is to use await import:
/**
 * @param {import('vscode').ExtensionContext} context - The context.
 */
async function activate(context) {
  (await import('./register-hello-world.mjs')).activate(context);
  (await import('./register-hello-tensor.mjs')).activate(context);
}
module.exports.activate = activate;

register-hello-world.mjs:
import {add} from '#customImport';
import {vscode} from '#vscode';
/**
 * This method is called when your extension is activated, which
 * happens the very first time the command is executed.
 * @param {import('vscode').ExtensionContext} context - The context.
 */
export function activate(context) {
  // Use the console to output diagnostic information (console.log) and errors (console.error)
  // This line of code will only be executed once when your extension is activated
  console.log('> register extension.helloWorld');
  // The command has been defined in the package.json file
  // Now provide the implementation of the command with registerCommand
  // The commandId parameter must match the command field in package.json
  const disposable = vscode.commands.registerCommand('extension.helloWorld', () => {
    vscode.window.showInformationMessage(`Hello World! add(10, 20) is ${add(10, 20)}`);
  });
  context.subscriptions.push(disposable);
}

register-hello-tensor.mjs:
import {Tensor} from '@xenova/transformers';
import {vscode} from '#vscode';
/**
 * This method is called when your extension is activated, which
 * happens the very first time the command is executed.
 * @param {import('vscode').ExtensionContext} context - The context.
 */
export function activate(context) {
  // Use the console to output diagnostic information (console.log) and errors (console.error)
  // This line of code will only be executed once when your extension is activated
  console.log('> register extension.helloTensor');
  // The command has been defined in the package.json file
  // Now provide the implementation of the command with registerCommand
  // The commandId parameter must match the command field in package.json
  const disposable = vscode.commands.registerCommand('extension.helloTensor', () => {
    const tensor = new Tensor("float32", [1, 2, 3, 4], [2, 2]);
    vscode.window.showInformationMessage('Hello Tensor! ' + tensor.data);
  });
  context.subscriptions.push(disposable);
}

Now you may wonder - what is that import {vscode} from '#vscode';?
You can basically use your package.json like an importmap:
{
  "name": "vscode-extension-transformers",
  "displayName": "vscode-extension-transformers",
  "description": "Transformers.js example for VS Code",
  "version": "1.0.0",
  "publisher": "kungfooman",
  "repository": "https://github.com/kungfooman/vscode-extension-transformers/",
  "scripts": {
    "watch": "echo Begone, watch build step! Embracing true ESM power!",
    "vscode:prepublish": "echo Begone, prepublish build step! Embracing true ESM power!",
    "lint": "eslint \"src/**/*.js\""
  },
  "engines": {
    "vscode": "^1.74.0"
  },
  "categories": [
    "Other"
  ],
  "activationEvents": [],
  "main": "./src/extension.js",
  "contributes": {
    "commands": [
      {
        "command": "extension.helloWorld",
        "title": "Hello World"
      },
      {
        "command": "extension.helloTensor",
        "title": "Hello Tensor"
      }
    ]
  },
  "devDependencies": {
    "@types/node": "^16.18.34",
    "@types/vscode": "^1.73.0",
    "eslint": "^8.26.0"
  },
  "imports": {
    "#customImport": "./src/customImport.mjs",
    "#vscode": "./src/vscode.mjs"
  },
  "dependencies": {
    "@xenova/transformers": "^2.6.1"
  }
}

And ./src/vscode.mjs has to look like this:
import {createRequire} from 'node:module';
const require = createRequire(import.meta.url);
export const vscode = require('vscode');

Tada, problems solved - have fun with ESM. If you use TypeScript, drop it now: it just creates extra headaches through AST transformations etc.
Too much code? I made a complete test repo here:
https://github.com/kungfooman/vscode-extension-transformers
Just clone and open in VSCode and press F5. Typing is done through JSDoc - Pure ESM code, full typing, no TS build step headaches:

sorry I build with vsce package and install vsix . run command throw error  A dynamic import callback was not specified.

@wszgrcy Interesting, thank you, the VSCode ESM loading seems stuck since years because they don't update Electron - it happens to work during extension development, but then fails as package, probably the only-AMD extension logic in VSCode at work.
I feel certain it would still work with some informed debugging work, but I can't do that right now.

Hi,
Any movement on this?


Nunaliit server fails to recover from Premature EOF in changes stream

This error took down a Nunaliit instance. Appears to be related to a system update restarting couchdb.
2017-11-23 00:00:00,015[INFO ]: No daily vetter notifications required - nothing waiting for approval
2017-11-23 04:00:00,999[ERROR]: Error accessing database changes
java.io.IOException: Premature EOF
        at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:565)
        at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:609)
        at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:696)
        at java.io.FilterInputStream.read(FilterInputStream.java:133)
        at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3375)
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
        at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:127)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:112)
        at java.io.InputStreamReader.read(InputStreamReader.java:168)
        at ca.carleton.gcrc.couch.client.impl.ConnectionUtils.getJsonFromInputStream(ConnectionUtils.java:32)
        at ca.carleton.gcrc.couch.client.impl.ConnectionUtils.getJsonFromInputStream(ConnectionUtils.java:43)
        at ca.carleton.gcrc.couch.client.impl.ConnectionUtils.getJsonResource(ConnectionUtils.java:104)
        at ca.carleton.gcrc.couch.client.impl.ConnectionUtils.getJsonResource(ConnectionUtils.java:112)
        at ca.carleton.gcrc.couch.client.impl.CouchDbChangeMonitorThread.getChanges(CouchDbChangeMonitorThread.java:113)
        at ca.carleton.gcrc.couch.client.impl.CouchDbChangeMonitorThread.activity(CouchDbChangeMonitorThread.java:81)
        at ca.carleton.gcrc.couch.client.impl.CouchDbChangeMonitorThread.run(CouchDbChangeMonitorThread.java:71)

Actually... It looks like Nunaliit may have been started before couchdb on an automatic reboot. Hard to tell from logs. Either way, it would be nice if it retried to connect to couchdb for a few minutes or longer with progressively longer waits between retries.

Looking into this more, it may have been another case of an older startup script trying to start the wrong version of Nunaliit, possibly out of order. I will close and watch for anything similar in other hosts.


Atom keep crashing.

whenever I write footer tag with emmet it keeps crashing..

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:


New custom resource definitions

Initial commit for KubeArmorMacro and KubeArmorAuditPolicy
For this initial version I preferred to include only few syscall arguments.

@johngv2 all looks good. please let me know once you update my feedbacks.

Folks, due to lot of references to accuknox.com, I preferred to regenerate the files.
I just pushed the new ones.
@nam-jaehyun, I included the samples for both CRDs ;)
I appreciate any suggestions.

@johngv2 can you replace all accuknox to kubearmor? also, can you update the regex for the directory validation?

@nam-jaehyun done!


Add uncategorised chars

As we do in https://github.com/kabisa/specimen-skeleton-support/blob/master/fontData.js#L85

Can you add (port from specimen?) some tests?

@pascalw Done!


Define branch usage model

As part of Code Mauve, we'd like to define the branch usage model for development & release management. We need to identify the branch model, and how we can use testing for gating merges between branches.

Link for a proposal doc: https://docs.google.com/document/d/14s0Xx_X-uEGyS9BLHlskj--wsPJv71QTBsqneq6m29M/edit

What's left here?


Why are hparams mandatory in the LightningModule definition?

When I don't pass hparams in the LightningModule, it doesn't allow me to load a previously saved model using a checkpoint. Particularly, hparams can't be passed in Jupyter Notebook/Lab, so how to use it in such a usecase (for testing, etc.)?
I am able to train a model, checkpoint it, but I can't load it when I restart the kernel.

hparams are not required. we could also expand support to passing in a dictionary or something

Yes, they are not mandatory as such. But the saved weights in the checkpoint cannot be loaded. Is there a workaround for that?

@neggert

It's just the load_from_checkpoint method that doesn't work if you don't use hparams. I think the idea was that load_from_checkpoint as a classmethod doesn't make much sense unless you have some way of restoring the hyperparameters and a standard set of model constructor args.
If you don't want to follow the standard convention, you should be able to create your model manually, then restore your weights just as you would a standard Torch model.
model = MyModel(whatever, args, you, want)
checkpoint = torch.load(checkpoint_path, map_location=lambda storage, loc: storage)
model.load_state_dict(checkpoint['state_dict'])

This is a little bit error-prone in cases where your model has variable layer sizes. If you don't create the model with the same layers as the model that the checkpoint was saved from, this will fail.
You can also let the trainer restore the weights by doing e.g.
trainer = Trainer(..., restore_from_checkpoint=checkpoint_path)
trainer.test()

Do either of these solutions meet your needs? Perhaps we could take a look at providing a convenience method for this? Or maybe even change the signature of load_from_checkpoint to
@classmethod
def load_from_checkpoint(cls, checkpoint_path, model_kwargs=None):

Then if we get model_kwargs, use them. If not, try to load hparams from the the checkpoint.

The first solution of using the normal PyTorch way works. But the 2nd one using the Trainer doesn't. Trainer doesn't have a restore_from_checkpoint argument.

BTW, we shall include these usecases in tests...

Perhaps we could take a look at providing a convenience method for this?

I'm very for this. For my usecase, we use a completely separate configuration system outside of lightning's for our model construction.

The first solution of using the normal PyTorch way works. But the 2nd one using the Trainer doesn't. Trainer doesn't have a restore_from_checkpoint argument.

@akshaykvnit  I believe it's resume_from_checkpoint

@jeffling No resume_from_checkpoint either. I am not pretty sure about the previous version, but in fact, there is no such thing to restore the previous state from the trainer. Also, I believe the trainer should not have that function as it should do the training only.

@shijianjian @jeffling @neggert @williamFalcon @Borda There is a resume_from_checkpoint parameter in the Trainer source code. However, the parameter is not used in the remaining code to load anything.

Seems to have been implemented in #516. At a glance the implementation looks reasonable, but I haven't tested it.


RU translation

@omentes Is this still WIP or complete now?

@MikeMcQuaid WIP 😢
I can do it today or tomorrow

So sorry for the long delay on this! Thanks so much for your contribution!  You rock, @omentes!

@davydovanton Not sure if you're suggesting other translation changes but please feel free to submit a follow-up PR and we'll address them, thanks!

@MikeMcQuaid
@davydovanton proposed a change, and he is right. Unfortunately, I am doing a lot of work now, but I trying to create a second PR with changes in the translation later


.config/.yo-rc.json

As more and more tools have become best-practice when authoring npm modules, from package.json to .*rc to *file.js, the root directory of projects has become a very loud place. This dot-noise pushes README content farther and farther down the main page of git repos.

What if the above could optionally be simplified to the following?

This is a simple example and that's already about a 30% vertical space savings. I started the conversation over in the npm repo, and already submitted an issue for findup-sync, but I wanted to get visibility here.

I'm :-1: for now but would reconsider this when this system gets a little more usage. I don't see much benefit anyways, the argument of the vertical space isn't worth much for me. I mean... it's as easy as scrolling :)

I'm with Arthur on this one. Sorry. I don't see this as being a particularly bad UX issue and it's solved by scrolling, so... :-1:

I wouldn't mind it, but I've seen it tried multiple times before and it never goes anywhere. I hope you succeed though. For now, there's https://github.com/sindresorhus/github-hide-files

@arthurvr @addyosmani GitHub is only one of many places that a list of files is displayed, simply the most convenient for illustration purposes. ls much? :)
@sindresorhus Thanks for the vote of confidence.
Thanks, all, for the consideration.

@shannonmoeller ls doesn't display dotfiles by default.

@sindresorhus Quite right. :) The first thing I do when I setup a new computer is to show all files, unhide extensions, and alias ls to ll -Al. I suppose I've made my bed in that regard. I'd like to think that the existence of the XDG standard shows I'm not alone, but I'll quit beating a dead horse. Thanks again.


Fixed cursor blinking during selection.

Fixed the issue of cursor blinking during selection as shown below.
https://github.com/flutter/flutter/assets/12887926/6f2caa9b-1748-4e1d-bbf0-3643793ad17c
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

LGTM 👍
Good catch, thanks for fixing this! Is there an issue anywhere about this that you're aware of?

There is no related issue, this is a problem found after my other PR#138479.


Add msbuild-specific exports to artifacts, as requested by Olga.

This also needs topological sort fixes in order to truly resolve the scenario but this is enough to unblock experimentation.


Test dasgoclient in the cc image

[ ] Check if dasgoclient  from  /cvmfs/cms.cern.ch/common/dasgoclient is working
[ ] Make sure that dasgoclient actually works with tokens.
The current error when you try with CMS IAM token:

dasgoclient -query="dataset=/ZMM*/*/*" -token=.token

ERROR: das exit with code: 2 , error: DBS unable to unmarshal the data into DAS record, api=datasets, data=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

 <title>CMSWEB Error: Authorisation required</title>
...

Authorisation required

The site you requested is protected and requires you to authenticate

Diagnose certificate problems

...

The official reply was that there is no support currently, especially on cmsweb-auth side:
https://github.com/dmwm/dasgoclient/issues/30#issuecomment-1518062699

On first attempt the dasgoclient isn't working out of the box, don't know if I need to source something or ...
/cvmfs/cms.cern.ch/common/dasgoclient -query "dataset=/ZMM*//" -json -host https://cmsweb-auth.cern.ch
/cvmfs/cms.cern.ch/common/scram: 14: COUNT++: not found
/cvmfs/cms.cern.ch/common/scram: 14: COUNT++: not found
ls: cannot access '/cvmfs/cms.cern.ch/linux418_amd64_/cms/dasgoclient/v/bin/dasgoclient': No such file or directory
ls: cannot access '/cvmfs/cms.cern.ch/linux418_amd64_*/cms/dasgoclient/': No such file or directory
/cvmfs/cms.cern.ch/common/dasgoclient: 12: -query: not found

Attempt the second says something isn't configured correctly (I think)  I found a binary of dasgoclient by looking in the dasgoclient script and parsing the unrecognized cmsos response:
cd /cvmfs/cms.cern.ch/cc8_amd64_gcc9/cms/dasgoclient/v02.04.36-b4f75c8b6dba03448d1491c2d7a11bf6/bin
./dasgoclient -query="dataset=/Zee*//"
2023/11/21 17:18:48 ERROR DAS QL ERROR, query=dataset = /Zee*//, idx=0, msg=Wrong DAS key: dataset
ERROR: das parser error: DAS QL ERROR, query=dataset = /Zee*//, idx=0, msg=Wrong DAS key: dataset
when I query -daskeys I get no valid keys, so I think it's not finding a dbs intance (?).

It would be interesting to investigate if this new development in coffea
will help us instead:
https://github.com/CoffeaTeam/coffea/pull/883
On Tue, Nov 21, 2023, 18:31 Oksana Shadura @.***> wrote:

Hi Carl,
Maybe this thread will be something interesting for you:
https://github.com/dmwm/dasgoclient/issues/30
On Tue, Nov 21, 2023, 18:21 Carl Lundstedt @.***>
wrote:

Attempt the second says something isn't configured correctly (I think) I
found a binary of dasgoclient by looking in the dasgoclient script and
parsing the unrecognized cmsos response:
cd /cvmfs/
cms.cern.ch/cc8_amd64_gcc9/cms/dasgoclient/v02.04.36-b4f75c8b6dba03448d1491c2d7a11bf6/bin
./dasgoclient -query="dataset=/Zee*//"
2023/11/21 17:18:48 ERROR DAS QL ERROR, query=dataset = /Zee*//,
idx=0, msg=Wrong DAS key: dataset
ERROR: das parser error: DAS QL ERROR, query=dataset = /Zee*//, idx=0,
msg=Wrong DAS key: dataset
when I query -daskeys I get no valid keys, so I think it's not finding a
dbs intance (?).
—
Reply to this email directly, view it on GitHub
https://github.com/CoffeaTeam/coffea-casa/issues/384#issuecomment-1821344865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVQARHC4W3BQMKIPIXI5ATYFTPILAVCNFSM6AAAAAA2GDBOEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRGM2DIOBWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


git-annex: pushed data on amazon, not seen from other local stations

as part of https://github.com/spine-generic/data-multi-subject/pull/40 i just pushed some data to amazon:
julien-macbook:~/code/spine-generic/data-multi-subject $ git annex sync
commit
On branch jca/update-derivatives
nothing to commit, working tree clean
ok
pull origin
ok
push origin
Enumerating objects: 66, done.
Counting objects: 100% (66/66), done.
Delta compression using up to 16 threads
Compressing objects: 100% (42/42), done.
Writing objects: 100% (49/49), 4.40 KiB | 1.46 MiB/s, done.
Total 49 (delta 13), reused 0 (delta 0)
remote: Resolving deltas: 100% (13/13), completed with 5 local objects.
To https://github.com/spine-generic/data-multi-subject.git
   42c7b920..957506b3  git-annex -> synced/git-annex
 * [new branch]        jca/update-derivatives -> synced/jca/update-derivatives
ok
julien-macbook:~/code/spine-generic/data-multi-subject $ git-annex whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz
whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz (1 copy)
  	5cdba4fc-8d50-4e89-bb0c-a3a4f9449666 -- julien@julien-macbook.local:~/code/spine-generic/data-multi-subject [here]
ok
julien-macbook:~/code/spine-generic/data-multi-subject $ git-annex sync --content amazon
commit
On branch jca/update-derivatives
nothing to commit, working tree clean
ok
copy derivatives/labels/sub-fslAchieva01/anat/sub-fslAchieva01_T2star_rms_gmseg-manual.nii.gz (checking amazon...) (to amazon...)
ok
copy derivatives/labels/sub-nottwil02/anat/sub-nottwil02_T2star_rms_gmseg-manual.nii.gz (checking amazon...) (to amazon...)
ok
copy derivatives/labels/sub-nottwil06/anat/sub-nottwil06_T2star_rms_gmseg-manual.nii.gz (checking amazon...) (to amazon...)
ok
copy derivatives/labels/sub-tokyoIngenia03/anat/sub-tokyoIngenia03_T2star_rms_gmseg-manual.nii.gz (checking amazon...) (to amazon...)
ok
copy derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz (checking amazon...) (to amazon...)
ok
(recording state in git...)
julien-macbook:~/code/spine-generic/data-multi-subject $ git-annex whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz
whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz (2 copies)
  	5a5447a8-a9b8-49bc-8276-01a62632b502 -- [amazon]
   	5cdba4fc-8d50-4e89-bb0c-a3a4f9449666 -- julien@julien-macbook.local:~/code/spine-generic/data-multi-subject [here]

  amazon: https://data-multi-subject---spine-generic---neuropoly.s3.ca-central-1.amazonaws.com/SHA256E-s28294--5e6dc442d20bb79ab0fd5dd62c5c5b968bf5926fc57b93fe02a1dad4366c3f0f.nii.gz
ok

However, Travis does not see the data, and when trying on compute canada, it's even worse (ie: local copy on julien-laptop is even not shown):
git-annex sync --no-push
[jcohen@gra-login2 data-multi-subject]$ whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz
sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii:

what is going on???
maybe the julien-laptop mirror is not visible on compute canada because i am on the master branch?
nope:
[jcohen@gra-login2 data-multi-subject]$ git checkout -b jca/update-derivatives origin/jca/update-derivatives
Updating files: 100% (11/11), done.
Branch 'jca/update-derivatives' set up to track remote branch 'jca/update-derivatives' from 'origin'.
Switched to a new branch 'jca/update-derivatives'
[jcohen@gra-login2 data-multi-subject]$ whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz
sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii:

what is mind-boggling is that the SHA256 is pushed to the branch:
https://github.com/spine-generic/data-multi-subject/blob/34c6c70bc2e4c2a874c5f1da340188b0e8cd00c7/derivatives/labels/sub-tokyoIngenia03/anat/sub-tokyoIngenia03_T2star_rms_gmseg-manual.nii.gz#L1
and the associated URL on amazon does work (ie: data can be downloaded):
https://data-multi-subject---spine-generic---neuropoly.s3.ca-central-1.amazonaws.com/SHA256E-s28294--5e6dc442d20bb79ab0fd5dd62c5c5b968bf5926fc57b93fe02a1dad4366c3f0f.nii.gz

I think you forgot to git annex sync origin. git annex sync --content amazon syncs the data, but you missed syncing the metadata after that.

trying to fix it (thanks @kousu):
julien-macbook:~/code/spine-generic/data-multi-subject $ git-annex sync
commit
On branch jca/update-derivatives
Your branch is up to date with 'origin/jca/update-derivatives'.

nothing to commit, working tree clean
ok
pull origin
ok
push origin
Enumerating objects: 33, done.
Counting objects: 100% (33/33), done.
Delta compression using up to 16 threads
Compressing objects: 100% (14/14), done.
Writing objects: 100% (17/17), 1.34 KiB | 1.34 MiB/s, done.
Total 17 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6), completed with 6 local objects.
To https://github.com/spine-generic/data-multi-subject.git
   957506b3..d320819c  git-annex -> synced/git-annex
   3a107bc7..34c6c70b  jca/update-derivatives -> synced/jca/update-derivatives
ok

I thought that should fix it, but it didn't seem to work:
[kousu@requiem data-multi-subject]$ git annex sync
commit
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
ok
pull origin
remote: Enumerating objects: 33, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 17 (delta 6), reused 17 (delta 6), pack-reused 0
Unpacking objects: 100% (17/17), 1.32 KiB | 34.00 KiB/s, done.
From https://github.com/spine-generic/data-multi-subject
   957506b3..d320819c  git-annex                     -> origin/git-annex
   957506b3..d320819c  synced/git-annex              -> origin/synced/git-annex
   3a107bc7..34c6c70b  synced/jca/update-derivatives -> origin/synced/jca/update-derivatives
ok
(merging origin/git-annex into git-annex...)
(recording state in git...)
push origin
Username for 'https://github.com': ^[[^C
[kousu@requiem data-multi-subject]$ git-annex whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz
git-annex: derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz not found
git-annex: whereis: 1 failed

oh I was just on the wrong branch. It works:
[kousu@requiem data-multi-subject]$ git checkout jca/update-derivatives
Updating files: 100% (11/11), done.
Branch 'jca/update-derivatives' set up to track remote branch 'jca/update-derivatives' from 'origin'.
Switched to a new branch 'jca/update-derivatives'
[kousu@requiem data-multi-subject]$ ls -l derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz
-rw-r--r-- 1 kousu kousu 103 Sep  2 21:28 derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz
[kousu@requiem data-multi-subject]$ git-annex whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz
whereis derivatives/labels/sub-vuiisAchieva06/anat/sub-vuiisAchieva06_T2star_rms_gmseg-manual.nii.gz (2 copies)
  	5a5447a8-a9b8-49bc-8276-01a62632b502 -- [amazon]
   	5cdba4fc-8d50-4e89-bb0c-a3a4f9449666 -- julien@julien-macbook.local:~/code/spine-generic/data-multi-subject

  amazon: https://data-multi-subject---spine-generic---neuropoly.s3.ca-central-1.amazonaws.com/SHA256E-s28294--5e6dc442d20bb79ab0fd5dd62c5c5b968bf5926fc57b93fe02a1dad4366c3f0f.nii.gz
ok

So fixed?


BUG: Internal Error during "Branch-Protection" on GitHub Enterprise Server

Describe the bug
Running the tool with GHES 3.8 and 3.9, we get the following problem.
This did not happen with the scorecard 4.11 version.
Branch-Protection      | internal error: error during                                                                                | https://github.com/ossf/scorecard/blob/49c0eed3a423f00c872b5c3c9f1bbca9e8aae799/docs/checks.md#branch-protection      |
|         |                        | branchesHandler.setup:                                                                                |                                                                                |
|         |                        | internal error:                                                                                |                                                                                |
|         |                        | githubv4.Query: Field                                                                                |                                                                                |
|         |                        | 'rulesets' doesn't exist on                                                                                |                                                                                |
|         |                        | type 'Repository'

Reproduction steps
Steps to reproduce the behavior:

Run scorecard against the GHES 3.8 oder 3.9 with setting GH_HOST and GITHUB_TOKEN
Check the output of Branch-Protection

Expected behavior
It should not fail.
A fallback to the old method should take place and the branch protection rules should be checked successfully.
Additional context
Add any other context about the problem here.

Is this related to #3498 ? I just added to that issue that I also had such an error.

Similar, in that they both concern Branch-Protection but otherwise unrelated.


Lightmapper improvements - soft shadow & Ambient Occlusion support

This PR implements improvements to existing Lighmapping functionality:

soft directional light baking - specified by angle and number of samples
ambient occlusion baking, for both single color as well as cubemap based, sphere and hemisphere based. Controlled by number of samples. Separate contrast and brightness control over the AO.
bilateral filtering for lightmaps - allows smooth AO and soft shadows with smaller number of samples.

NEW API
Light Component:

bakeNumSamples - umber of samples used to bake the light
bakeArea - the penumbra angle in degrees

Scene:

lightmapFilterEnabled - Enables bilateral filter on runtime baked color lightmaps
lightmapFilterRange and lightmapFilterSmoothness - range and spatial parameters of the bilateral filter
ambientBake - If enabled the ambient lighting will be baked into lightmaps, including Ambient Occlusion
ambientBakeNumSamples - number of samples used to bake the ambient light
ambientBakeSpherePart - part of the sphere used to bake AO, from sphere cap to hemisphere to full sphere
ambientBakeOcclusionContrast and ambientBakeOcclusionBrightness - contrast and brightness of AO

Random: (new API related to random number generation)

randomCirclePoint - pseudo-random 2D point inside a unit circle with uniform distribution
spiralCirclePoint - evenly distributed deterministic points inside a unit circle
spiralSpherePoint - evenly distributed deterministic points on a unit sphere

Other changes:

split Lightmapper into multiple files
extracted lightmap cache from MeshInstance to standalone class

engine example (when engine is released)
http://playcanvas.github.io/#/graphics/lights-baked-ao
Possible further improvements: https://github.com/playcanvas/engine/issues/3430
engine example with all features enabled:

denoising filter disabled:

new features disabled - no soft shadows, no AO

skylight + soft directional, 15 samples in total + denoising:

original baked version of the same scene:

soft shadows and ambient occlusion

before-after screenshot:

I really like that house model! Is it CC0 licensed? Where did it come from? Wouldn't it make a nicer scene for the engine example instead of primitives?

it's this one, so a CC license. I think I had to import it as json model to generate uv1 though. We could do it in Blender most likely, but my skills are non-existing to do this.
https://sketchfab.com/3d-models/house-scene-52772448c62348e0a4951b51758d5587


SILOptimizer: Constant fold the _kvcKeyPathString of literal key paths.

Eliminate the intermediate key path object when a literal key path is passed to a function that
just wants its KVC string to pass down to an ObjC API.

@swift-ci Please test


Cannot find MSAL/Msal.H

Hello, having some issues when used this plugin. I cannot run on Xcode saying that MSAL/Msal.h is not found on the import. Thanks!

the same problem

I used cordova 10 and cordova-ios 5.1.1 to resolve that error.

I used cordova 10 and cordova-ios 5.1.1 to resolve that error.

same here, cordova 10, cordova ios ^6

Could you please help am getting msal.h file not found

Could you please help am getting msal.h file not found. Is it mandatory to use cordova10 or is there any other way to resolve it

I don't think there is another way, I've tried this using cordova 9 and got the same error.

As suggested, I tried various versions for cordova and cordova-ios, the issue still persists. Do you guys suggest any workaround?
More info:
Ionic:
Ionic CLI                                         : 6.12.3 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework                            : @ionic/angular 4.11.8
@angular-devkit/build-angular    : 0.801.3
@angular-devkit/schematics       : 8.1.3
@angular/cli                                   : 8.1.3
@ionic/angular-toolkit                   : 2.0.0
Cordova:
Cordova CLI                                  : 10.0.0
Cordova Platforms                       : ios 6.2.0
Cordova Plugins                           : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 11 other plugins)
Utility:
cordova-res (update available: 0.15.3)     : 0.6.0
native-run (update available: 1.3.0)          : 0.2.8
System:
ios-deploy   : 1.9.4
ios-sim        : 8.0.2
NodeJS.      : v12.10.0 (/usr/local/Cellar/node/12.10.0/bin/node)
npm             : 6.14.11
OS               : macOS Big Sur
Xcode         : Xcode 12.4 Build version 12D4e

I upgraded an existing Ionic project to cordova 10 and cordova-ios 6.2 but I still don't find MSAL.h. Any suggestion?

I upgraded an existing Ionic project to cordova 10 and cordova-ios 6.2 but I still don't find MSAL.h. Any suggestion?

remove the platform, then add again.

I upgraded an existing Ionic project to cordova 10 and cordova-ios 6.2 but I still don't find MSAL.h. Any suggestion?

I am having the same issue, anyone found a solution?

Does anyone else have this output from CocoaPods after install? possibly could be related

Does anyone else have this output from CocoaPods after install? possibly could be related

In my case, I had ms-adal in the project and apparently it caused conflict. I couldn't remove it by uninstall command so I manually deleted it from node modules, and then reinstall cordova-ios. The error suddenly went away. There were a couple of other steps I took in the generated project but I am sure you can figure those out easily.

The issue is fixed for me now, it was becuase I was opening the .xcodeproj and not the .xcworkspace! took me too long to figure that out :'D

The issue is fixed for me now, it was because I was opening the .xcodeproj and not the .xcworkspace! took me too long to figure that out :'D

hi can you please tell me which version of ios and cordova you are using

The issue is fixed for me now, it was because I was opening the .xcodeproj and not the .xcworkspace! took me too long to figure that out :'D

hi can you please tell me which version of ios and cordova you are using


webview [nfc]: Further write up what we've learned about asset paths.

This follows up on b2b274c4b with some further things we learned in
the discussion on its PR #3677, and in a pair of related chat threads:
https://chat.zulip.org/#narrow/stream/243-mobile-team/near/796432
Also add a couple more reference links, and adjust wording around
file:///android_asset/ to avoid seeming to assert that it
corresponds to a directory really mounted somewhere in the filesystem.

For the reasons mentioned on #3687 , I'm going to go ahead and merge this now. @ray-kraesig if you find there's something in the resulting version that you don't think is right (and it isn't something with an obvious fix, like a typo), then I think we agree we should handle that without doing additional investigation -- I think we should be able to mark the uncertainty in the text, without deleting the information.


Added Laravel 5.5 package discovery support

Added support for Laravel 5.5 package discovery

Closing as I didn't see the other PR


Update new name for Tutanota that changed to Tuta

Update new name for Tutanota that changed to Tuta

nice, thank you


System monitoring

we capture runtime metrics (CPU, memory, disk space, network, ...)

monitoring
alerts
dashboard

we could make use of https://uptimerobot.com/ to reliably capture instance uptime


Front end | Updated front-end to match with mario font

Added a way better responsiveness to the webpage | no overlap

Still have the code before this if we do not like the new "review" on homepage hb

Ok that was the last commit of the night (maybe)


Cambiando el significado de  "text alternative "

Los de habla hispana entendemos mejor como "texto alternativo"

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #xxxx

LGTM!

Thanks and congratulations on your first merged contribution!


add type for defaultProps in path outline layer

For #2477

Background
In path outline layer, the defaultProps don't have types specified. We need to specify type for those props.

Change List

Add type to the defaultProps in path outline layer

Test your change in the layer browser.


[Doc-Improvement][Update API references]

updating the docs

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
89
35
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 757e2ac:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

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

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
89
35
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 3e9dbe7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

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

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
89
35
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 07d14a2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 5934d69:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/teams-together-mode.md
:white_check_mark:Succeeded
View

msteams-platform/bots/bot-basics.md
:white_check_mark:Succeeded
View

msteams-platform/bots/calls-and-meetings/calls-meetings-bots-overview.md
:white_check_mark:Succeeded
View

msteams-platform/bots/calls-and-meetings/requirements-considerations-application-hosted-media-bots.md
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/add-power-virtual-agents-bot-to-teams.md
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/authentication/add-authentication.md
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/debug/locally-with-an-ide.md
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/format-your-bot-messages.md
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/get-teams-context.md
:white_check_mark:Succeeded
View

msteams-platform/bots/what-are-bots.md
:white_check_mark:Succeeded
View

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

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/apps-in-teams-meetings/API-references.md
89
35
link
:white_check_mark:

msteams-platform/apps-in-teams-meetings/teams-together-mode.md
99
1
link
:white_check_mark:

msteams-platform/bots/bot-basics.md
88
24
link
:white_check_mark:

msteams-platform/bots/calls-and-meetings/calls-meetings-bots-overview.md
85
19
link
:white_check_mark:

msteams-platform/bots/calls-and-meetings/requirements-considerations-application-hosted-media-bots.md
90
8
link
:white_check_mark:

msteams-platform/bots/how-to/add-power-virtual-agents-bot-to-teams.md
92
8
link
:white_check_mark:

msteams-platform/bots/how-to/authentication/add-authentication.md
90
57
link
:white_check_mark:

msteams-platform/bots/how-to/debug/locally-with-an-ide.md
88
14
link
:white_check_mark:

msteams-platform/bots/how-to/format-your-bot-messages.md
94
3
link
:white_check_mark:

msteams-platform/bots/how-to/get-teams-context.md
92
5
link
:white_check_mark:

msteams-platform/bots/what-are-bots.md
93
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


UDP configurable IP

Hello Orca developers,
On the idea of building a new Addressable LED companion firmware for ESP32 Boards that may interface with Orca, I stumbled open that even using the same Port I had to edit the default localhost IP in :
desktop/core/io/udp.js
Would it be possible to add a custom UDP IP setting to the Orca menu ?
I'm making a small open-source Firmware for the ESP32 and Addressable LEDs using the Neopixel library, that will receive UDP signals and launch fast animations in any addresssable LEDS stripe (for ex. WS2812B). The idea is that with less than 18 dollars you can get a controller, soldier 3 cables and get a working 144 Leds stripe that receives commands from Orca.
If someone has an idea to do it differently and for example hear on localhost all UDP entries starting with L for example, and redirect them somehow to CONTROLLER_IP, then it will be also possible to do it that way.
The project is just starting, but it's testeable already, if someone wants to give it a try:
https://github.com/martinberlin/Remora ( for now, demo in feature/animation branch)

Hi @martinberlin :)
That's an amazing project, it's something I also use for my shows actually! And I always end up making a custom build for the live shows with the raspberry pi's IP. I've added a new command cmd ip:, that should make this easier.
https://github.com/hundredrabbits/Orca#udp


add info to description for employee

add in job code description (RSCH ADM 2).
IDEAL would be
MUNGO,CHRISTINE JOYCE (244 - RSCH ADM 2)

Decided to postpone, details below

Hi Scott,
Let’s stick with number one then. I don’t think it’s appropriate to list only one of the job titles. And I don’t love the idea of breaking out the data into even more rows that will need to be reconciled. If we decide we want more details, we can add that later for the next reporting cycle, correct? Thank you.
From: Scott Kirkland<EMAIL_ADDRESS>Sent: Thursday, June 25, 2020 3:57 PM
To: Shannon Tanguay<EMAIL_ADDRESS>Subject: Re: AD419 Employee Info Question
Ken says that yes this happens all the time in the data, and he recommends either my option 1 or 2, depending on what would be useful.  He also had the idea of concatenating all of the titles together, so you would get something like
MAGA,ELIZABETH A (241: ADJ PROF-FY, ASST AGRON AES-AY, ASST RES-LR SCL-AY-1/9)
Which might make for a large, cluttered table but is an another option we could try.
He doesn’t think we’d want to split the records as I mentioned in option 3 because it’s not worth the additional validation that would take if we messed with data keys.
From: Shannon Tanguay<EMAIL_ADDRESS>Date: Thursday, June 25, 2020 at 3:45 PM
To: Scott Kirkland<EMAIL_ADDRESS>Subject: RE: AD419 Employee Info Question
Hi Scott,
I hadn’t thought of that. I see what you mean. I’d like to get Ken’s opinion on this. Can you run it by him? For the example below, did you find this in the data or is it hypothetical?
Best wishes,
Shannon
916-919-1187 Cell
<EMAIL_ADDRESS>From: Scott Kirkland<EMAIL_ADDRESS>Sent: Thursday, June 25, 2020 2:43 PM
To: Shannon Tanguay<EMAIL_ADDRESS>Subject: AD419 Employee Info Question
Hi – Last time we talked you mentioned that the employee view would be helped if it listed not just:
MAGA,ELIZABETH A (241)
But if it also included their title, something like
MAGA,ELIZABETH A (241: ADJ PROF-FY)
I ran into a problem, which is that often these employees have multiple title codes which fall under the same SFN.  So for example, reality is often something like
MAGA,ELIZABETH A (241: ADJ PROF-FY)
MAGA,ELIZABETH A (241: ASST AGRON AES-AY)
MAGA,ELIZABETH A (241: ASST RES-LR SCL-AY-1/9)
So, what would you like the employee view to show?  I can think of these three options:
Leave it the same as it used to be.
Pull up one of their titles, maybe just a random one or maybe the one with the highest expenses?
Split what used to be one record into N records depending on their individual titles.  This one would require the most testing since our key has always been EID+SFN, which would then have to change.
Thanks!
Scott


Update peers.md

Once the chain launches ill have everyone sign a message with a memo including their peerid. Then include the txhash in the addedPeer field please


Notes updated/ created on this day

Would be great to be able to click on a day and have a list below of the notes Created and Updated during that day. You're already displaying the word count, which intuitively makes me want to click the day and explore those notes further.
Would this be possible?

@petruut : If you are willing to use dataviewjs in your vault, and add a "date" field to your frontmatter in your daily notes template, you could use something like
const thisDay = moment(dv.current().date.toISODate()).startOf('day');
dv.paragraph(`${thisDay} ${dv.current().file.link}`);
let createdOrModifiedOnThisDay = dv.pages()
	.where(p => {
		let tempCdate = moment(p.file.cday.toISODate()).startOf('day');
		let tempMdate = moment(p.file.mday.toISODate()).startOf('day');
		if (tempCdate.year() !== thisDay.year() && tempMdate.year() !== thisDay.year()) { return false; }
		if (tempCdate.month() !== thisDay.month() && tempMdate.month() !== thisDay.month()) { return false; }
		if (tempCdate.date() !== thisDay.date() && tempMdate.date() !== thisDay.date()) { return false; }
		return true;
	})

createdOrModifiedOnThisDay.forEach(p => {
	dv.paragraph(`- ${p.file.link}`);
})

to emulate this (forgive me for the really shitty code, it is not my best work, it may contain some edge-case I haven't thought of, but for the most part it should work, or at least give you a hint about what you can do)
So if you add this into your daily notes template, every note will display what other files were created or modified on that date (but inside the daily note itself)


Can you bind the value of a column to a boolean property?

Should I be able to bind a column directly to a boolean property like this?
  const columns: MUIDataTableColumn[] = [
    {
      name: 'name',
      label: 'I am a string',
    },
    {
      name: 'isPrimary',
      label: 'I am a boolean',
    },
  ];

Because when I do that, the column has blanks.  If I map my object so that isPrimary is a string (Y,N) then they appear.
Also, when binding to a boolean, the filter select correctly shows All, True, False but when I select True, the little chip above the grid is empty.
So basically, can you not bind direct to a boolean?

It doesn't appear so. However, you can use the customBodyRender/customBodyRenderLite methods to properly display a boolean value. And for filtering you can use the customFilterListOptions (on the column's options object) to properly display the filter chips.


[Traefik Plugin Catalog] Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Plugin Catalog.
Cause:
failed to run the plugin with Yaegi: failed to create a new plugin instance: invalid CIDR address: <IP_ADDRESS>/8║<IP_ADDRESS>/8║<IP_ADDRESS>/8

Traefik Plugin Analyzer will restart when you will close this issue.
If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.

Closing issue to force traefik to re-check plugin


[Bug]: union type in sample generation which would return raw json is in-correct in some cases

Describe the bug
Currently we will directly return the raw response for union cases in sample generation, this will exist issues when model have different serializeName and client name. I think we should handle part of unions also.
Reproduction
NA
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For bug in the typespec language or core libraries file it in the TypeSpec repo
[X] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

when we finish the design of multi-content type, we will start to think about supporting union in example.


Trimming of string literals

Due to double trimming of values at Loader::sanitiseVariableValue, string literals are being trimmed; that is, HERP = "     please don't" is forced to be please don't.
It didn't cause problems as of yet, because everyone is accustomed to space and tabs being unsafe characters, but no one should have to rely on this behaviour.

Cont'd: github's inline code replaces multiple spaces with one. How accurate.

I disagree. A string literal is a string literal. If it has been quoted, then I have perfectly described my intent and expect it to be respected. Arbitrarily removing my content is certainly a bug.

Since this was closed does this mean trimming of string literals are expected behaviour. To me it feels like a bug.

@tuupola I agree, if double trimming is going to happen, completely no need to wrap the content in quotes either.

Does https://github.com/vlucas/phpdotenv/pull/179 do what you want?

no need to wrap the content in quotes either.

Actually, we do still require that. If you have foo bar as the variable, you need quotes due to the whitespace inside.

Closing because php trims the variables anyway when we pass them in.

I'm having problems with this now. My variable needs a whitespace at the end, because it's a prefix that will later be concatenated with something else at runtime. That concatenation happens inside another library that I use, and I don't want to touch their code, otherwise I won't be able to update the lib.
How do I get this to work now? Any possible workaround?

It seems to me that all values (including quoted ones) are trimmed when loading them. Take a look at line 232 of Loader.php:
return array($name, trim($value));
What is the rationale behind this and what is a possible workaround?


+choosealicense.com

ref: https://github.com/github/choosealicense.com/pull/227

Coverage remained the same at 100.0% when pulling 7120f313020bd6256e834fbac62dd45ff313bf7f on waldyrious:patch-1 into 53eb9cb81d910180a9eb38c30d95cb57d3e67799 on shinnn:master.

Coverage remained the same at 100.0% when pulling 7120f313020bd6256e834fbac62dd45ff313bf7f on waldyrious:patch-1 into 53eb9cb81d910180a9eb38c30d95cb57d3e67799 on shinnn:master.

Could you update the commit message to add choosealicense.com to the showcase?

I don't have a machine with git installed handy, and github's web interface is still rather limited in terms of what can be done, e.g. amending commits; I'd rather just create a separate PR, it's easier for such a small change. Otherwise, if you don't mind having one less entry in the contributors list, you can make the commit directly, and I'll close this PR.

Landed in https://github.com/shinnn/isogram/commit/00db7f323712ee8de111ba4292a8e288fe653243 (sorry, including my own tweaks).
Thanks, @waldyrious.


How to design a graph for pose tracking which runs in parallel

Dear researchers (or anyone reading this issue):
I am working on a project about pose estimation. Here is my plan:
Firstly, utilize 2 cameras, getting videos from different viewpoint. Then, run mediapipe pose tracking algorithm on two videos respectively, and get the landmarks from two different viewpoints. After that, using bundle adjustment to merge two sets of landmarks from different viewpoint, as the graph output.
Considering this project runs in real time, I plan to use 2 threads to do pose estimation in parrllel (one thread for one viewpoint), then synchronize the output landmarks from two thread and send them into the downstream bundle adjustment calculator.
Here is the graph I design:

I wonder if this plan could be implemented by mediapipe？Will mediapipe run this graph in parallel (two threads as i wish) automatically? Or I have to do something deliberately to enable parallel? What should I do?
I looking forward to your reply and thanks in advance!
System information

custom code
Linux Ubuntu 20.04
Solution: Pose
C++

The short answer is yes you can do that with MediaPipe. About threading in MP read this.

@brucechou1983  Thank you for sharing.

Dear researchers (or anyone reading this issue): I am working on a project about pose estimation. Here is my plan:
Firstly, utilize 2 cameras, getting videos from different viewpoint. Then, run mediapipe pose tracking algorithm on two videos respectively, and get the landmarks from two different viewpoints. After that, using bundle adjustment to merge two sets of landmarks from different viewpoint, as the graph output.
Considering this project runs in real time, I plan to use 2 threads to do pose estimation in parrllel (one thread for one viewpoint), then synchronize the output landmarks from two thread and send them into the downstream bundle adjustment calculator.
Here is the graph I design:

I wonder if this plan could be implemented by mediapipe？Will mediapipe run this graph in parallel (two threads as i wish) automatically? Or I have to do something deliberately to enable parallel? What should I do?
I looking forward to your reply and thanks in advance!
System information

custom code
Linux Ubuntu 20.04
Solution: Pose
C++

Hi, excuse me. I have the same proplem with you. Did you have resolve the problem that run mediapipe in multi threads? Could you share the example?
I'm looking forward your reply!
Best wishes!

Dear researchers (or anyone reading this issue): I am working on a project about pose estimation. Here is my plan:
Firstly, utilize 2 cameras, getting videos from different viewpoint. Then, run mediapipe pose tracking algorithm on two videos respectively, and get the landmarks from two different viewpoints. After that, using bundle adjustment to merge two sets of landmarks from different viewpoint, as the graph output.
Considering this project runs in real time, I plan to use 2 threads to do pose estimation in parrllel (one thread for one viewpoint), then synchronize the output landmarks from two thread and send them into the downstream bundle adjustment calculator.
Here is the graph I design:

I wonder if this plan could be implemented by mediapipe？Will mediapipe run this graph in parallel (two threads as i wish) automatically? Or I have to do something deliberately to enable parallel? What should I do?
I looking forward to your reply and thanks in advance!
System information

custom code
Linux Ubuntu 20.04
Solution: Pose
C++

Hi, excuse me. I have the same proplem with you. Did you have resolve the problem that run mediapipe in multi threads? Could you share the example?
I'm looking forward your reply!
Best wishes!

Hello. I think this project will be a little bit helpful.  I tried to implement the pipeline mentioned before. However, I can not ensure its correctness, since I found the pipeline got stuck sometimes.


Go 1.18: rewrite interface{} to any

Rewrites interface{} to any using gofmt
Created by Sourcegraph batch change christine/Go-upgrade-type.

PTAL due friday


Updated the README file for JAVA

as stated in #39

@aniketsharma00411 Please do add the hacktoberfest accepted label in my PRs, thank you.


create the one line to yaml creator

https://github.com/aipresenter/aipresenter/compare/main...lpabon:aipresenter:narrator-and-chatgpt-create-yaml

If you do the following, then it will create the yaml and stop because of the choice --script-out
python3 main.py --plot="a plot with 10 scenes about a space war around Europa" --script-out=myscript.yml

If you do the following, then it will continue all the way to generate the audio file
python3 main.py --plot="a plot with 10 scenes about a space war around Europa" --name=myplot

Generates: myplot.yml with the values of myplot.txt and myplot.mp3 inside

If you do the following, then it will act only from the yaml given:
python3 main.py --script=myscript.yml


Add debian package?

I was just thinking about how to integrate this package on MRT side. The two options I see are either a catkin wrapper or a debian package. The latter would have the additional benefit of being a relatively universal solution that would also simplify the usage of the library for other users.
I vaguely remember we discussed this a while ago and that creating debian packages isn't exactly the most straightforward process. Still, it would be nice to integrate it into the versioning/ci system that #59 would already add to the library.
Are there any reasons not to do that? Is the overhead very large? Maybe you can add your experiences @orzechow

Well, AFAIR using the official debian packaging stuff (dh_make, debhelper and such) was bit of a pain.
It's designed to solve most setups in a "auto-magical" fashion, but to support any kind of exotic packaging construct as well – that IMHO explains the elaborate Debian New Maintainers' Guide.
As we're dealing with a rather simple C++/CMake library here, I guess the dh_make stuff is overkill.
CPack seems to provide a rather easier approach for CMake projects, though I have no experience with it yet.
See also ChatGPTs CPack suggestions.
CPack can generate .deb packages and .tar.gz/.zip source archives.

CPAck is awesome!
See a working draft: #70

Completed with #70 :100:


Adding deserialization support for Enums

Fix: deserializing a entity containing enum throw "InvalidCastException: Invalid cast from 'System.String' to ''."

Thank you.

Published in 3.2.3. Thank you again for you contribution.


litex: init at 2023.04

Description of changes
LiteX is a set of tools to work with FPGAs, I package the bare minimum to compile a VexRISCV for iCEBreaker iCE40 FPGA board.
This was tested with:
$ nix-shell -p 'python3.withPackages (ps: [ ps.litex-boards ps.litex ps.litespi ps.pythondata-cpu-vexriscv ps.pythondata-software-picolibc ps.pythondata-software-compiler_rt ])' 'pkgsCross.riscv32.buildPackages.gcc' 'meson' 'ninja' yosys nextpnr icestorm
$ python3 -m litex_boards.targets.icebreaker --cpu-type=vexriscv --cpu-variant=lite --build

producing a final Gateware for the iCEBreaker which was not tested on the hardware yet :).
TODO : I disabled tests everywhere because for some reason, it's complaining about migen not being there, etc. I am debugging this and this will be fixed or commented properly before merge.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-summer-of-nix-program-goals/30376/3

@SuperSandro2000 FYI, this PR is not for review and you are reviewing code that will completely change.


AttributeError: 'numpy.ndarray' object has no attribute 'append'

Hi! I'm working on implementing your code to my own project.
First of all, great thanks to you. Your work helped me a lot.
What I wanted to do is to apply this detection code to videos.
So I followed #35, and saved each frames first.
Next, I used iteration loop to append the images of each frame into 'orig_images = []' and 'input_images = []'.
However, it doesn't work, while a single image was successfully went through this process.
The code is below.
orig_images = [] # Store the images here.
input_images = [] # Store resized versions of the images here.

for i in range(0,320):
    if(i%5==0):
        img_path = 'C:\\Users\\user\Desktop\\frames\\frame%d.jpg'%i
        print(img_path)
        orig_images.append(imread(img_path))
        img = image.load_img(img_path, target_size=(img_height, img_width))
        img = image.img_to_array(img)
        input_images.append(img)
        input_images = np.array(input_images)

C:\Users\user\Desktop\frames\frame0.jpg
C:\Users\user\Desktop\frames\frame5.jpg
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-77-c59779a88106> in <module>()
     13         img = image.load_img(img_path, target_size=(img_height, img_width))
     14         img = image.img_to_array(img)
---> 15         input_images.append(img)
     16         input_images = np.array(input_images)

AttributeError: 'numpy.ndarray' object has no attribute 'append'

Does this mean that I can't append multiple slides of images into 'input_images' so I have to change the format of 'input_images'?
Or, is there better way for me to pass each frames to the code?
I really appreciate your help.

 This is simply an issue of you using a NumPy function incorrectly. It's telling you right there in the error message that you are using the wrong syntax for NumPy's append() method, so the sensible thing to do would be to take a look at the NumPy documentation for this method.


[FX-5708] Replace ip with @toptal/davinci-ip

FX-5708
Description
This pull request aliases ip package usages with @toptal/davinci-ip package.
How to test

Temploy
Check out the branch, run yarn start locally

Development checks

[N/A] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[N/A] Make sure that additions and changes on the design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[N/A] Annotate all props in component with documentation
[N/A] Create examples for component
[N/A] Ensure that deployed demo has expected results and good examples
[N/A] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
[N/A] Covered with tests (visual tests included)
[x] ⚠ Replace alpha package with real one

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-anvil ping reviewers


Build Failure Nix Flake

Hello! I recently updated the Waybar input in my flake and it fails to build with
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/ga7wi6s76i1gl0dwmwy82wcqyc3kqa4f-source
       > source root is source
       > /build/source /build
       > patching script interpreter paths in .
       > /build
       > Running phase: patchPhase
       > applying patch /nix/store/4dh7h9pnzxfa0l74116cz0x3ssnkpac7-fix-tray
       > patching file src/modules/sni/item.cpp
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 5 out of 5 hunks ignored -- saving rejects to file src/modules/sni/item.cpp.rej
       > patching file subprojects/fmt.wrap
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file subprojects/fmt.wrap.rej

Let me know if any more info is needed!

I met the same problem.
But it is so strange that I can run waybar by nix run github:Alexays/Waybar#waybar. And here is no patch operation in this repo(I didn't find it).
There is a patch operations related to waybar in nixpkgs: https://github.com/NixOS/nixpkgs/blob/5aaceeaf016fe2187f3fc6bda0520b8b468a1c3e/pkgs/by-name/wa/waybar/package.nix#L94-L104, but I did not use it. I run waybar by adding line exec-once = ${waybar.packages.${system}.waybar}/bin/waybar in hyprland config. Then I do not know how to solve it next.
Hope these info would help others.

Wait, it use overrideAttrs?
https://github.com/Alexays/Waybar/blob/07f75e303c4d6de8198e30239a808bfbc0d80ea5/nix/default.nix#L15-L19
Maybe we should change it.


Validation functions and custom http client

Custom HTTP Client
This PR introduces the ability to add a custom http client to fetch the data (see https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779 for the why)
data-url
Fix the documentation (#48 )
The documentation mention that it is possible to use a data URL
Validation function

The validation function in the building phase is relaying on the same function used in the writing phase
In the building phase, HEAD requests are issued to spare bandwidth. On top of that this will validate that the file is actually available.

Coverage increased (+0.8%) to 84.588% when pulling c88d72d019178233fdfd4dbef6632794d5d95e33 on owulveryck:validation into 95bfe4c48859af3c8e11463ec1d763d042c4b484 on bmaupin:main.

Please old, there is a leak somewhere (too many open files).
I will check

Please old, there is a leak somewhere (too many open files).
I will check

There should be a button somewhere to convert a PR to a draft in situations such as this: https://github.blog/changelog/2020-04-08-convert-pull-request-to-draft/
Having said that, it would be easier to submit smaller PRs per change so they'll be easier to review and merge.

I will take care to make smaller PR.
The bench, race tests and analysis did not point any leak.
The PR can be reviewed.
If you want we can find a couple of minutes for call so I can explain the changes.

Thanks, I'll take a look. It might take me a little bit longer to review it since it's making several changes at once.

Thank you;
No worries, I will try to make smaller PR next time.


How to override getClientEnvironment?

File: config/env.js
const stringified = {
    '__DEV__': process.env.NODE_ENV_ROOT === 'development' || process.env.NODE_ENV !== 'production',
    'process.env': Object.keys(raw).reduce((env, key) => {
      env[key] = JSON.stringify(raw[key])
      return env
    }, {})
  }

I believe that's still getting set here
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/scripts/start.js#L13

I could be wrong as I haven't looked at any of the more recent version(s) of react-scripts
Closing this as no one has picked it up and it's not a bug.

Thanks!!!!


Keep the focused position when changing converter

I don't know if this is a clear bug.
So I want to talk to others.
Describe the bug
If we change modes in the converter, the focus is still the same as in the previous mode.
like this picture.

Expected behavior
However, the focused unit is same after change focusing position in other converter mode.
(for example Kilometer unit position changed but still focus Kilometer)

So it is Seems to be intended
But in my opinion, it is better to keep the focused position in same mode.
Device and Application Information

OS Build: 10.0.18362.0
Architecture: X64
Application Version: 10.1908.0.0
Region: ko-KR
Dev Version Installed: True

Requested Assignment

If possible, I would like to fix this.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

Thanks for the detailed bug report! Focus behavior in converters is currently by design, but I agree with you that it feels a bit weird. There are actually a number of things that are not super intuitive about the interface we have for converters, which is why we have #594. I am going to close this as a duplicate of that issue.


Add HOW-TO's and rearrange guides' structure

This is the first suggestion for the new HOW-TO's section. We basically do two things:

Add the first 6 HOW-TO guides extracted/adapted from the "What's new in Ecto 2.1" book
Split the guides into 2 parts, "Introduction" and "How-to's"

Hi @msaraiva! All the guides with the exception of the query prefixes look good. I have added only minor comments. For the query prefix one, I think we need to a major overhaul. In particular, in Ecto 2.0 we only had a single prefix for the whole query, but that is no longer the case in Ecto 3.0. For each join/from, the prefix used is determined by this order:

If the prefix option is given exclusively to join/from
If the @schema_prefix is set
If the :prefix field is set on the query (i.e. %{query | prefix: prefix}) or to the repo operation (i.e. Repo.all query, prefix: prefix)
The connection prefix (which we call global prefix but I would change it to connection)

We can either:

Remove this page for now and merge the other guides
Fix this page and merge it altogether :)

Let's try option 2 :)

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


nah just wanna ask something

32k aura is auto 32k? and why it doesnt work sometimes :/

32kaura is just a killaura with high cps that works when you have 32k sharpness item in your main hand.
auto32k is a module that sets up 32k combat with hopper, and dispenser32k is a module that sets up 32k combat with dispensers.

Dispenser32k should work fine

32kaura is just a killaura with high cps that works when you have 32k sharpness item in your main hand.
auto32k is a module that sets up 32k combat with hopper, and dispenser32k is a module that sets up 32k combat with dispensers.
hope this helped you.

oh 32k aura is just killaura? ok. And can u make uh the module save the keybind for next time launch game?

Use the command &save and &load.

If its broken I will fix it in a next update 💀


[WIP] DoubleExt privatekeys: Access all data (Solana fix)

Description
Change approach to double-extended private key (used by Cardano):
instead of storing each subpart differently, store them all in the bytes member.
Issue was that in some places (through the C interface) only the bytes member was accessed, resulting in 32 bytes only (instead of 192 bytes).
Fixes #2136 .
Testing instructions
Unit tests.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] Prefix PR title with [WIP] if necessary.
[ ] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] I have read the guidelines for adding a new blockchain
[x] If there is a related Issue, mention it in the description (e.g. Fixes #<issue_number> ).

Solana fix?


Feature Request

Would it be possible to add an overview of strongswan and the open connections?

I have never heard of strongswan so I am not able to help you on this front. I will label this as a feature request and hopefully another linux dash dev will be able to help you out.
And as always, it is quite easy to integrate any data available via the OS (CLI) or even through an external API into a linux dash widget. If you are familiar with how to obtain the data you would like to view, feel free to make an attempt and ask questions on here or on the linux dash gitter.
And remember, Pull requests > feature requests.


Proc.run is not documented

The https://docs.perl6.org/routine/run docs are a page long and show a bunch of stuff, but unless you read all of them and notice the very last sentence mentioning Proc, you may miss that run takes arguments like :enc and stuff.
Those should be at least hinted at in the shown signature and perhaps the note that it takes a bunch of args should be moved closer to the start of the prose.

Actually, it's documented in role IO but that's wrong, because it's not there (or is no longer there).

Related: #2059


.Net: Bug: : [InvalidTemplate] Could not find the plan in the results. Additional helpers or input may be required

Describe the bug
I am trying to explore and learn Handlebars planners. Unfortunately, running into [InvalidTemplate] Could not find the plan in the results. Additional helpers or input may be required error
From other closed issue 5934 comments I have learned that Handlebars is deprecated and a new python planner is being worked upon.

Is this understanding accurate?
What is the short-term workaround if that proposed python planner is not available yet.

To Reproduce
Steps to reproduce the behavior:
Run handlebars examples provided in the repo
Expected behavior
It should generate a plan instead of error
Platform

OS: Windows
IDE: Visual Studio
Language: C#
Source: NuGet package version 1.15.0-preview

@vasireddy Thanks for reporting this issue!
Could you please share some code example which produces an error and more details like which model you use? Also, do you have any specific use cases you would like to cover with planning capability? This will allow us to understand which options we can recommend in order to achieve your scenarios. Thank you!

hello @dmytrostruk  Thank you for commenting. Here is exact code I am trying to run.
I am new to Semantic Kernel and trying to understand it,  so no real world use cases yet.
Also, I am using local llm with LM Studio and tried several models like gemma, mistral, phi
public static async Task Main(string[] args)
        {
            HttpClient client = new HttpClient(handler: new LocalHostServer("http://localhost:1234/v1/chat/completions"));
            client.Timeout = TimeSpan.FromHours(1);

            var kernelBuilder = Kernel.CreateBuilder()
                .AddOpenAIChatCompletion(modelId: "mistral", apiKey: "notneeded", httpClient: client)
                .Build();

            var goal = $"What is today's date?";
#pragma warning disable SKEXP0060 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.

            OpenAIPromptExecutionSettings settings = new OpenAIPromptExecutionSettings
            {
                ToolCallBehavior = ToolCallBehavior.EnableKernelFunctions,
                Temperature = 0.0,
                TopP = 0.1,
                MaxTokens = 300000
            };

            var plannerOptions = new HandlebarsPlannerOptions
            {
                AllowLoops = true,
                ExecutionSettings = settings
            };

            HandlebarsPlanner handlebarsPlanner = new HandlebarsPlanner(plannerOptions);

            HandlebarsPlan handlebarsPlan = await handlebarsPlanner.CreatePlanAsync(kernelBuilder, goal, new KernelArguments(settings));
            Console.WriteLine($"Plan : {handlebarsPlan.Prompt.ToString()}");

            var result = await handlebarsPlan.InvokeAsync(kernelBuilder, new KernelArguments(settings));

            Console.WriteLine($"Result : {result.ToString()}");
#pragma warning restore SKEXP0060 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
        }
    }

Here is the exception I am receiving along with some planner output.

KernelException: [InvalidTemplate] Could not find the plan in the results. Additional helpers or input may be required.

Planner output:

{{!-- Step 0: Extract key values --}}
{{set
  "date"
  (Date)
}}
{{!-- Step 1: Call helper with the date and print the result to the screen --}}
{{set
  "result"
  (Example-Helper
    input=date
  )
}}
{{json (concat "Today's date is:" " " result)}}

@dmytrostruk I think I figured out the problem. I never added Kernel TimePlugin. I was under the impression that ToolCallBehavior in setting would automatically load available plugins packaged with SDK.
However, adding below line to my class resolved my issue
kernelBuilder.Plugins.AddFromType<TimePlugin>(nameof(TimePlugin));

I am closing this issue


Glenn Berry Diagnostic Scripts Copyright

According this comments https://github.com/ktaranov/sqlserver-kit/commit/ffc09ba013d4a7309a0533ebd37f5669d6f5c94f#commitcomment-27792716
Waiting for Glen answer.

Closed due to this reasons:

The only request is to convey to Glen my point of view: I constantly recommend his blog and articles to all Russian-speaking colleagues and always recommending his scripts for use. The problem is that it is not always convenient for Russian-speaking users to understand which of the versions of its scripts is the last, so for their convenience (and, of course, my study), I constantly update them in our repository. And I would like to do this in the future. But if I violate the conditions for the distribution of scripts, then at any time I'm ready to add the necessary explanations to their header or in the worst case, delete them from the repository.

You might want to just publish the links to the scripts, and check/update those links periodically.
Hope that helps,
Robert Sterbal  / Technical Specialist
Omnicell, Inc.
Office:<PHONE_NUMBER>
Mobile:<PHONE_NUMBER>
Inspired by Care™
From: Konstantin<EMAIL_ADDRESS>Sent: Thursday, March 15, 2018 3:26 PM
To: ktaranov/sqlserver-kit<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [ktaranov/sqlserver-kit] Glenn Berry Diagnostic Scripts Copyright (#140)
[EXTERNAL SOURCE]
Closed due to this reasons:
The only request is to convey to Glen my point of view: I constantly recommend his blog and articles to all Russian-speaking colleagues and always recommending his scripts for use. The problem is that it is not always convenient for Russian-speaking users to understand which of the versions of its scripts is the last, so for their convenience (and, of course, my study), I constantly update them in our repository. And I would like to do this in the future. But if I violate the conditions for the distribution of scripts, then at any time I'm ready to add the necessary explanations to their header or in the worst case, delete them from the repository.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ktaranov_sqlserver-2Dkit_issues_140-23issuecomment-2D373494906&d=DwMFaQ&c=w8fEmIi-B5lsC0MnOiGTloUx5YmN70-3jVCmqqbXNxM&r=UNYWlaIEPW3DOx81yfeqH46TuIggCHbiQK5gxXu15PM&m=g9TA2F0l9odSmPIyrsgRBZ6rFZhXIETS7ces-cH8BNU&s=OvUI2EzT4M9Me-do9YF9ZR-htfV5ZLikJBABMqis7ko&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AcYeF-5FtGdUZ8uzWpbn5FFPc4eV2gheYFks5tesBlgaJpZM4STomw&d=DwMFaQ&c=w8fEmIi-B5lsC0MnOiGTloUx5YmN70-3jVCmqqbXNxM&r=UNYWlaIEPW3DOx81yfeqH46TuIggCHbiQK5gxXu15PM&m=g9TA2F0l9odSmPIyrsgRBZ6rFZhXIETS7ces-cH8BNU&s=HclD_4sW4tZfEN50m7o22tK1K_qt3nb2Tx_y5JL_VtE&e=.