'libsass bindings not found. Try reinstalling 'node-sass'?

I'm having a problem when running the command gulp I keep getting this error:
Error: `libsass` bindings not found. Try reinstalling `node-sass`?
    at getBinding (/home/vagrant/Code/Auth/node_modules/gulp-sass/node_modules/n
ode-sass/lib/index.js:22:11)
    at Object.<anonymous> (/home/vagrant/Code/Auth/node_modules/gulp-sass/node_m
odules/node-sass/lib/index.js:188:23)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/vagrant/Code/Auth/node_modules/gulp-sass/index.
js:3:17)
    at Module._compile (module.js:456:26)

below is my package.json file:
{
  "private": true,
  "devDependencies": {
    "gulp": "^3.8.11",
    "gulp-autoprefixer": "^0.0.7",
    "gulp-sass": "^2.0.0-alpha.1",
    "gulp-util": "^3.0.4",
    "laravel-elixir": "*"
  }
}

anyone have any ideas or thoughts on what could be going on?

Which node? Which npm? Which platform, operating system?

Please follow the relevant in our Troubleshooting guide and reply if the problem persists.

ran through all the steps on the troubleshooting guide, and have provided the results below.
npm -v: 2.7.4
node -v: v0.12.2
node -p process.versions: { http_parser: '2.3',
						  node: '0.12.2',
						  v8: '3.28.73',
						  uv: '1.4.2-node1',
						  zlib: '1.2.8',
						  modules: '14',
						  openssl: '1.0.1m' }
node -p process.platform: win32
node -p process.arch: x64
.\node_modules\.bin\node-sass --version: 2.1.1

I'm still having this issue, hopefully we can get it resolved.

Running npm install as root?

Yes, even when installing from root, the problem still occurs.

Can you post a complete log to gist.github.com?
Can you try as a non-root user?

can't seem to find any log files to copy over. I've tried as both non-root and root.

Do you have a vendor subdirectory under node-sass? If yes, what's there?

there is a win32-x64-node-0.12 file, and in that is binding.node thats everything thats under the vendor file.

We ran into this when upgrading from 0.10.x to 0.12.2. Fixed by deleting the node_modules directory and  then reinstalling from scratch with npm install.

@Milkbone since .\node_modules\.bin\node-sass --version isn't producing an error node-sass has installed fine. The appears to be with the version of gulp-sass you're using.
I can't find any reference to<EMAIL_ADDRESS>Please try a stable version.

Thanks for the extended support with this everyone, I really appreciate it. I searched through the gulp-sass github-discussion and it seems like gulp-sass 1.3.3 was one of the most stable builds available. I used npm uninstall gulp-sass then, npm install<EMAIL_ADDRESS>--save-dev then ssh'd back into my vagrant/homestead vm and ran gulp and still received the following error
Error: `libsass` bindings not found. Try reinstalling `node-sass`?
    at getBinding (/home/vagrant/Code/Auth/node_modules/node-sass/lib/index.js:2
2:11)
    at Object.<anonymous> (/home/vagrant/Code/Auth/node_modules/node-sass/lib/in
dex.js:188:23)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/vagrant/Code/Auth/node_modules/gulp-sass/index.
js:3:17)
    at Module._compile (module.js:456:26)

So, do I understand this correctly - node-sass installed fine, it only happens when you run `gulp'?
Can you try running home/vagrant/Code/Auth/node_modules/node-sass/bin/node-sass and process some very simple document, like /* ..... */

Correct, everything installs with no errors. one I run gulp I get the error, do you think it could be a problem with gulp? and sure I can try and display the results here.

On Tue, 5 May 2015, Milkbone wrote:

Correct, everything installs with no errors. one I run gulp I get the error, do you think it could be a problem with gulp? and sure I can try and display the results here.

Most probably you have some node_modules with an older/wrong node-sass somewhere down there, and gulp pickes up that.
You can try
 node -e "console.log(require.resolve('node-sass'))"

to see where you current node-sass is.

here's what I get when I run that, it seems to the correct install
\Projects\Auth> node -e "console.log(require.resolve('node-sass'))"

\Projects\Auth\node_modules\node-sass\lib\index.js

On Tue, 5 May 2015, Milkbone wrote:

here's what I get when I run that, it seems to the correct install

\Projects\Auth> node -e "console.log(require.resolve('node-sass'))"
\Projects\Auth\node_modules\node-sass\lib\index.js

And what is in the \Projects\Auth\node_modules\node-sass\vendor ?
Does \Projects\Auth\node_modules\node-sass\bin\node-sass work?

Projects\Auth\node_modules\node-sass\vendor\win32-x64-node-0.12inside that is binding.node.
and no just running \Projects\Auth\node_modules\node-sass\bin\node-sass does not work, maybe im not understanding what your asking exactly? my apologize.

On Tue, 5 May 2015, Milkbone wrote:

Projects\Auth\node_modules\node-sass\vendor\win32-x64-node-0.12inside that is binding.node.
and no just running \Projects\Auth\node_modules\node-sass\bin\node-sass does not work, maybe im not understanding what your asking exactly? my apologize.

Does not work? An error message? It does say nothing and just waits?
Can you just type /* .... */ and give it enter and ctrl-z ?

here is whats I get
\Projects\Auth> \Projects\Auth\node_modules\node-sass\bin\node-sass /* .... */
The system cannot find the path specified.

what about \Projects\Auth\node_modules\node-sass\.bin\node-sass
(with a dot before bin)

Projects\Auth> \Projects\Auth\node_modules\node-sass\.bin\node-sass
The system cannot find the path specified.

same thing...

On Tue, 5 May 2015, Milkbone wrote:

Projects\Auth> \Projects\Auth\node_modules\node-sass\.bin\node-sass
The system cannot find the path specified.

What is below your \Projects\Auth\node_modules\node-sass ?

this is whats in my node-sass file http://puu.sh/hCDmj/fef017598b.png

On Tue, 5 May 2015, Milkbone wrote:

this is whats in my node-sass file http://puu.sh/hCDmj/fef017598b.png

Can you do
  cd \Projects\Auth\node_modules\
  dir node-sass /s > contents.txt

and post 'contents.txt' to http://gist.github.com ?

https://gist.github.com/Milkbone/b78c658266b040358c85 hope it helps abit more.

Thanks, so now if you start node and then

require('node-sass')

you get something, right?

Hold on,
you have
\Projects\Auth\node_modules\node-sass

and
Auth/node_modules/gulp-sass/node_modules/node-sass

which is broken, right? (notice the second one is "under" gulp-sass).

And your vagrant is running which operating system?

Vagrant is running ubuntu 12.02 I believe, okay ill look into messing with the one under gulp-sass and see if I can get it working

funny, I don't seem to have a node-sass in the gulp-sass node_modules file... not sure whats going on there.

You definitely need two different binaries for Windows and for Ubuntu! You can put all binaries needed in the vendor directory together.

Seems like your original problem was on Ubuntu and we were troubleshooting Windows.

Actually I had many many problems with node.js and npm on ubunutu that was fixed as soon as I used the windows to install dependencies. I did so on the recommendation of many people having similar issues to mine, the errors I was having was in relation to the symlink with the virtual machine

Ok, but we cannot continue troubleshooting like this.

Like @chrishomer we ran into this when switching between 0.10.x and 0.12.2 (we have a Vagrant plugin that switches node versions in our Vagrant box automatically depending on our project's engines field in package.json). Deleting rm -rf node_modules && npm install clears things up. But it would be nice to get some more insight on exactly what's happening, since we switch node versions often and we'd like to avoid running into this problem.

Please update to gulp-sass@2 to solve this issue.

@josiahsprague the solution is relatively east, you need to build or download all the binaries you need and to put then under vendor subdirectory. We cannot launch automatic download or build one for you every time the environment https://github.com/sass/sass-spec/issues/361changes.
This concerns all binary modules, not only  node-sass

Thanks @saper. As I understand it now, the binaries that are installed may be different depending on the environment, and if that environment changes after the install, a rm -rf node_modules and npm install should give us the right ones. Thanks for clarifying! :)

Well, no need to remove all node_modules. You can just do npm install in the node-sass directory, or try node scripts/install.js there. You can have multiple binaries in one directory.

if that environment changes after the install

This is no long the case in<EMAIL_ADDRESS>Running npm install in a new environment should generate the new binaries automatically.
I could be that this behaviour is not respected when node-sass is a dependency of another modules i.e. gulp-sass. This is worth testing.

:+1: I don't count the number of time this error appears....

This concerns all binary modules, not only node-sass
@saper I have a shared folder between two different environments ( Mac, Windows) is that why I get this error? if yes, should I do npm install every time I switch the environment?
I got rid of it by removing node_modules and did nom install

Just npm install once from Windows and once from Mac and make sure your vendor subdirectory contains both Mac and Windows bindings.

This appears to be resolved. TLDR; if you've recently updated your version of node, or node-sass be sure to remove you node_modules dir because we use native extensions. In the future https://github.com/sass/node-sass/issues/1017 will prevent or warn about these types of issues.

This is still happening on my machine. Windows Server 2012 R2 Standard, using the following package.json file:
{
  "name": "LaunchTechnologies.Web.LaunchSite",
  "version": "0.1.0",
  "description": "",
  "main": "gulpfile.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "gulp": "^3.9.0",
    "gulp-sass": "^2.0.4"
  }
}

And this is the error I'm getting:
D:\Projects\Launch\ai5\launchsite\source\LaunchTechnologies.Web.LaunchSite\node_modules\gulp-sass\node_modules\node-sass\lib\ext
    throw new Error(['`libsass` bindings not found in ', binaryPath, '. Try re
          ^
Error: `libsass` bindings not found in D:\Projects\Launch\ai5\launchsite\source\LaunchTechnologies.Web.LaunchSite\node_modules\g
vendor\win32-ia32-11\binding.node. Try reinstalling `node-sass`?
    at Object.sass.getBinaryPath (D:\Projects\Launch\ai5\launchsite\source\LaunchTechnologies.Web.LaunchSite\node_modules\gulp-s
xtensions.js:148:11)
    at Object.<anonymous> (D:\Projects\Launch\ai5\launchsite\source\LaunchTechnologies.Web.LaunchSite\node_modules\gulp-sass\nod
:16:36)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (D:\Projects\Launch\ai5\launchsite\source\LaunchTechnologies.Web.LaunchSite\node_modules\gulp-sass\ind
    at Module._compile (module.js:456:26)

Things I've tried with no success:

Completely deleting the node_modules directory and doing a fresh npm install
Doing a npm uninstall of gulp and gulp-sass, then a fresh npm install
Doing a global install of node-sass, and doing a global uninstall of node-sass.
Doing a npm rebuild node-sass from within the node_modules/gulp-sass directory
Doing a npm install with node-sass@2, then node-sass@3 when that didn't work
Banging my head repeatedly against my desk

I should mention that when I do the fresh npm install everything seems to install just fine with no errors.  Whenever I do a npm rebuild node-sass it just tells me my existing binaries are fine.

Windows 10 64bit
Node 0.12.7
Npm 2.11.3
I got this message today from inside the task runner built in with Visual Studio 2015.
But when I ran node-sass from a console it worked.
I had nodejs 0.12.7 64bit installed but turns out Visual Studio 2015 only runs as a 32bit process. So when I tried to run node-sass via VS 2015 it was trying to find the vendor\win32-ia32-11.bindings file which didn't exist. Instead I had the 64bit bindings file compiled via node-gyp.
I fixed my problem by uninstalling node js 64bit and installing nodejs 32bit version so now it works from within Visual Studio 2015 and the console :)
I'm not quite sure how this scenario happens but it seems that node-gyp was compiling the 64bit bindings but node when run under a 32bit process was trying to resolve the 32bit binding which didn't exist.

I'm not quite sure how this scenario happens but it seems that node-gyp was compiling the 64bit bindings but node when run under a 32bit process was trying to resolve the 32bit binding which didn't exist.

you need bindings compiled to much your OS, architecture and the version if node.
if you need to use node-sass across multiple engines, you need to download bindings
for everybengine you are using. you can keep multiple versions in the vendor directory,
and node-sass will pick up the right one.

Hmmm, good to know. I'm was running the commands from a PowerShell console
within ConEmu, so I'll verify that it was running in x64 mode and then
report back.
On Sat, Aug 1, 2015, 3:26 PM Marcin Cieślak<EMAIL_ADDRESS>wrote:

I'm not quite sure how this scenario happens but it seems that node-gyp
was compiling the 64bit bindings but node when run under a 32bit process
was trying to resolve the 32bit binding which didn't exist.

you need bindings compiled to much your OS, architecture and the version
if node.
if you need to use node-sass across multiple engines, you need to download
bindings
for everybengine you are using. you can keep multiple versions in the
vendor directory,
and node-sass will pick up the right one.
—
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/918#issuecomment-126947836.

I would recommend not to use PowerShell because it recognizes any kind of output to the standard error channel as a fatal error of the executed subprocess (example issue causing the failure is: https://github.com/npm/npm/pull/8841). Just try npm install node-sass with cmd.exe

I'll try that, though this would be the first time in 3 years of using node
that powershell has gotten in the way.
On Sat, Aug 1, 2015 at 10:39 PM Marcin Cieślak<EMAIL_ADDRESS>wrote:

I would recommend not to use PowerShell because it recognizes any kind of
output to the standard error channel as a fatal error of the executed
subprocess (example issue causing the failure is: npm/npm#8841
https://github.com/npm/npm/pull/8841). Just try npm install node-sass
with cmd.exe
—
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/918#issuecomment-126981624.

I'll try that, though this would be the first time in 3 years of using node
that powershell has gotten in the way.

Well, we've run into it and it is a confirmed problem with npm.
One can use node for many years without touching any binary modules at all
and certainly PowerShell works in 99% of situations.
The issues we face here are not specific to node-sass - similar
problems are to be expected whenever native code is used.

Just an update - I tried using both 64 and 32 bit cmd.exe instead of powershell with the same result. I did just realize that I'm using an old version of node (v0.10.28) so I'm going to update that and see if that makes any difference.

Updated to v0.12.7, still have the same issue after deleting node_modules and re-running npm install :(

I have not enough details to help. Can you dump a full log according to our TROUBLESHOOTING.md guide?
One thing that I noticed is that the system was trying to load 32-bit binding. That should work but I hope that is what is expected.

Sure thing - I didn't update the error I was getting, but I opened both a 64-bit and 32-bit cmd side-by-side and tried everything in both of them just to make sure I was covering my bases.  The binding it was attempting to use may have changed (that should show up in the logs I suppose) but the general error was the same.

D:\LaunchSite>npm -v
2.11.3

D:\LaunchSite>node -v
v0.12.7

D:\LaunchSite>node -p process.versions
{ http_parser: '2.3',
  node: '0.12.7',
  v8: '<IP_ADDRESS>',
  uv: '1.6.1',
  zlib: '1.2.8',
  modules: '14',
  openssl: '1.0.1p' }

D:\LaunchSite>node -p process.platform
win32

D:\LaunchSite>node -p process.arch
x64

At this point I went into node_modules/gulp-sass and ran npm install node-sass.
There were no errors on install.
D:\LaunchSite\node_modules\gulp-sass\node_modules\node-sass>type package.json
{
  "name": "node-sass",
  "version": "3.2.0",
  "libsass": "3.2.5",
  /* snip */
}

D:\LaunchSite\node_modules\gulp-sass\node_modules\.bin>node-sass --version
node-sass       3.2.0   (Wrapper)       [JavaScript]
libsass         3.2.5   (Sass Compiler) [C/C++]

D:\LaunchSite\node_modules\gulp-sass\node_modules\.bin>node -p "console.log(require('node-sass').info)"
node-sass       3.2.0   (Wrapper)       [JavaScript]
libsass         3.2.5   (Sass Compiler) [C/C++]
undefined  // <-- what's this?

And here's the error when running from an 64-bit cmd.exe - though I notice it's
using the ia32 binding rather than the x64 binding, which seems like it could
be a (the?) problem:
D:\LaunchSite>gulp sass

Error: `libsass` bindings not found in D:\LaunchSite\node_modules\gulp-sass\node_modules\node-sass\vendor\win32-ia32-11\binding.node. Try reinstalling `node-sass`?
    at Object.sass.getBinaryPath (D:\LaunchSite\node_modules\gulp-sass\node_modules\node-sass\lib\extensions.js:148:11)
    at Object.<anonymous> (D:\LaunchSite\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:16:36)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (D:\LaunchSite\node_modules\gulp-sass\index.js:163:21)
    at Module._compile (module.js:456:26)

I should also mention that the troubleshooting guide says to go to https://github.com/sass/node-sass-binaries/tree/v , but that's a 404.

So gulp is making us believe we run on 32-bit node, while running on 64-bit?

had the same problem but on Ubuntu 14.04(vagrant laravel homestead) host was an Ubuntu 14.04 too.
Solved after apt-get update, apt-get upgrade, npm install with sudo permission.

I'm also seeing the exact same error messages when using grunt and grunt-sass on windows.
Loading "sass.js" tasks...ERROR
>> Error: `libsass` bindings not found in D:\repos\test\node_modules\grunt-sass\node_modules\node-sass\vendor\win32-ia32-14\binding.node. Try reinstalling `node
-sass`?
Warning: Task "sass" failed. Use --force to continue.

I don't know if it's gulp doing it or what. However! I can verify that downloading the "missing" ia32 binding file into the appropriate directory fixes the problem.  I don't know exactly what is causing node-sass to try using the ia32 bindings, but since 64-bit is perfectly capable of running 32-bit apps, including both x64 and ia32 bindings seems to suffice for a workaround until the actual cause can be identified.

Are you using VisualStudio to run some tasks? I think it comes with 32-bit node.

No, I'm running everything in a cmd.exe shell within ConEmu.

I just went through the process of updating node on my system via homebrew. This lead to this error message popping on me, and not letting me move forward. It seemed to come down to old versions of files floating around, and deleting my node_modules folder then running a fresh npm install after ensuring all packages were referencing their latest versions. Ran right through after that. Here are my steps.
Update node via homebrew:
brew update
brew doctor
brew upgrade node

I recommend using npm-check-updates to update your node modules to latest. Install it and run that command to do a dry run, then pass -u to actually update your package.json file.
Update your global modules: npm update -g
Delete your current node_modules folder.
Run npm install to get a fresh version of everything.

I assume from the fact that you're using homebrew that you're on OSX.  The
problem I'm having is on a x64 Windows Server 2012 R2 box, and it's been
confirmed by at least one other windows x64 user.  I've already done
everything you mentioned except for the npm-check-updates step, because, in
this particular case, node-sass is just a dependency on another third party
package (gulp-sass). Regardless, at the time I reported this bug gulp-sass
was already using the most recent version of node-sass, so that wouldn't
have helped.
On Thu, Sep 10, 2015 at 7:36 PM Chris Kihneman<EMAIL_ADDRESS>wrote:

I just went through the process of updating node on my system via
homebrew. This lead to this error message popping on me, and not letting me
move forward. It seemed to come down to old versions of files floating
around, and deleting my node_modules folder then running a fresh npm
install after ensuring all packages were referencing their latest
versions. Ran right through after that. Here are my steps.
Update node via homebrew:
brew update
brew doctor
brew upgrade node
I recommend using npm-check-updates to update your node modules to
latest. Install it and run that command to do a dry run, then pass -u to
actually update your package.json file.
Update your global modules: npm update -g
Delete your current node_modules folder.
Run npm install to get a fresh version of everything.
—
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/918#issuecomment-139411545.

I appreciate the continued attention this thread is receiving. I'm running into similar issues with NVM using node v4.0.0 and npm 2.14.2 on OSX 10.9.5
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/[redacted]/ember_dev/projects/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/node_modules/pangyp/lib/build.js:272:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "/Users/[redacted]/.nvm/versions/node/v4.0.0/bin/node" "/Users/[redacted]/ember_dev/projects/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/node_modules/pangyp/bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/[redacted]/ember_dev/projects/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass
gyp ERR! node -v v4.0.0
gyp ERR! pangyp -v v2.3.2
gyp ERR! not ok

It looks like you're using a version of node-sass that doesn't support Node
4. Either down grade to an older version of nose or updated to a node-sass

= 3.3.2.
On 18 Sep 2015 08:42, "Steven Valladolid"<EMAIL_ADDRESS>wrote:

I appreciate the continued attention this thread is receiving. I'm running
into similar issues with NVM using node v4.0.0 and npm 2.14.2 on OSX 10.9.5
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/[redacted]/ember_dev/projects/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/node_modules/pangyp/lib/build.js:272:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "/Users/[redacted]/.nvm/versions/node/v4.0.0/bin/node" "/Users/[redacted]/ember_dev/projects/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/node_modules/pangyp/bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/[redacted]/ember_dev/projects/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass
gyp ERR! node -v v4.0.0
gyp ERR! pangyp -v v2.3.2
gyp ERR! not ok
—
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/918#issuecomment-141257688.

Somewhere in your system 64-bit and 32-bit environments got mixed.  We really depend on the process.arch variable from the node engine we run on to pick up a right binary.
Try logging node -p process.arch at various stages of your pipeline and see where it changes.

To everyone who has read up to this point:
This message means that you are using an outdated version of node-sass. You should try to use the newest version: just try the following command and try again:
 npm install node-sass

This is the end. Thank you for your attention!


Make package class public

Update the selinux::package class to be public.
The packages needed to support the various types and providers from this
module vary between OS families and versions.  Making the this
class available to users who wish to use the types but not use the
entire module will prevent them from having the recreate the logic of determining
what package needs to be installed.

Fixes #337

Is this really necessary? From the readme:

Basic usage
include selinux
This will include the module and allow you to use the provided defined types, but will not modify existing SELinux settings on the system.

Yep your right. Sorry.


Support plotting agent-level variables

I tried it quickly, but it would be great to be able to plot agent-level variables.
For example, in the Forest Fire model, I might want to create a plot in which I can view how many trees are Burned Out, Fine and On Fire. These are currently only available as agent level variables, and it would be great to be able to plot these.

Agent level variables are definitely something that must be included, but it's not clear how they should look like. In your example I would say it's actually a model level variables, because we would have to aggregate the values by adding them. Other times we probably want to have mean values. But again, they become model level variables. A true agent level plot would either include all agents or a subset

I built this once for the old visualisation: https://github.com/projectmesa/mesa/pull/1145.
A question is what needs to go in mesa-interactive and what in Mesa itself. Maybe we can add this to the dev meeting agenda.


Revamp installation page

Proposed changes:

Fix https://github.com/RasaHQ/roadmap/issues/644
[x] Organize instructions for different operating systems
[x] Organize instructions for virtualenv / no virtualenv
[x] Make it obvious that installation has completed after "Quick Install"
[x] Link to installation guide
[x] Link to NLU pipeline specific installation

ready to go once build completes


ComboBox DropdownList doesn't close

Main File ; https://paste.apache.org/djgai
ComboBoxExample : https://paste.apache.org/istug
ComboBox.zip
In this example when I am clicking "OpenButton" popup windows open,On that window there's a comboBox if I open ComboBox and doesn't select anything from comboBox and click cancel button to close that popup window,the ComboBox dropdownlist is still visible on main screen
Video for better understanding :

ComboBoxList is moving up and down if i scroll,It should be closed if i scroll


Multiple grids declare multiple RuntimeComponentModules

I have multiple different grids that all use the Angular2 CellRenderer. The scenario in detail is a page with a grid that acts as an entry page and a routed page that contains tabs whereas each tab contains its own grid. Quickly navigating either between the pages via routing or changing tabs so that a different grid gets rendered results in:
Error: Uncaught (in promise): Error: Type AngularCellRenderer is part of the declarations of 2 modules: RuntimeComponentModule and RuntimeComponentModule!(…)

I'm not sure how you should fix this or what I can do to avoid this, but it seems that RuntimeComponentModule gets recreated and redeclares my CellRenderer while the old one is still valid.

Hi
AgGridModule needs to be at the root level. Specifically, AgComponentFactory needs to be an app wide provider.
Try that and let me know if its still a problem

I assume the problem comes from me also importing the module at other places (and therefore providing it again) as it didn't work properly for me as a global module alone. I think fixing my importing issue could solve this issue with it, but if I may make a suggestion:
https://angular.io/docs/ts/latest/guide/ngmodule.html#!#core-for-root
Angular has a mechanic to only add providers on the root level, namely with the forRoot() method. If your module stops providing AgComponentFactory within providers but uses forRoot() it should solve 'all' problems while still working properly.

Hi
Yes, this is something we're hoping to move to this week, which as you say would remove the need (I hope) to have this being necessary

Hi Stephen,
Release 6.0.1 (released today) should fix this - please see the updated docs for how to use ng2 in ag-grid, but the particular change for this problem is to include the agModule as follows
    imports: [
        BrowserModule,
        AgGridModule.forRoot(),

Can you please update and try with the latest version.
I'll leave this issue open until you verify that it is indeed fixed
thanks

This looks really promissing. Sadly we're still running rc5 as the update to rc6 caused too much trouble and we had a deadline; therefore the update to rc7 (and ag-grid) has to wait. I'll get to it sometime next week and tell you how it worked out.

Yeah, the release of rc6 caused us to have to re-write a lot of how we handled components in ag-grid.
The upgrade from rc6 to 2.0.0 has however been fairly painless

The update to Angular 2.0.0 was succesfull and the error is gone. Great work :)


Use graphql extensions to provide information about bindings in server response

There was a discussion a while ago about how to visualize the composition of a GraphQL server that uses multiple bindings. This proposal addresses this issue.
What information to provide
A 'best practice' GraphQL server uses a single schema, and using delegation in the resolvers to delegate queries and mutations to 1 or more bindings (back-end GraphQL endpoints). During development and testing, it would be great to know:

What binding(s) the different parts of a query response come from
Which connection settings where used for a binding

How to provide this information
The GraphQL spec allows extensions to be added to a server response. Tracing and cache control already use these extensions to provide additional information. I would propose to also use extension information to provide information about the bindings.
A sample bindings extension object could look like this:
bindings: [
  {
    "path": ["post, "comments"],
    "binding": {
      "name": "mydatasource",
      "endpoint": "http://api.graph.cool/mydatasource/dev"
    }
  }
]

The path specification is identical to the cache control extension (for a uniform approach). Endpoint information will not always be easily available though. Graphcool bindings provide an explicit endpoint. Generic bindings provide an executableSchema, so that information might not be available at all. One option might be creating an apollo-link variation that supports keeping track of this. Another, more generic solution, might be to setup an inline proxy to route all outgoing traffic through, so the hosts can be gathered (this is a commonly used setup in express).
How to visualize this information
This information could be used by graphql-playground to provide some form of visual representation. This can be discussed further in the graphql-playground repo.

I really like this idea! We'll try to prioritize this and come up with a first mockup over the next few weeks.
Would be great to hear other people's thoughts and ideas on this as well! 🙏

I've been playing around some more with this idea. This is what I've got so far:

Whenever you call a delegate in graphcool-binding, the path to the current node and the delegate that is called is saved on the context
A custom formatResponse function is used on apollo-server to access that information from the context, and put it in an extensions object.
The updated extension object looks something like:

bindings: [
  {
    "path": ["post, "comments"],
    "binding": {
      "name": "mydatasource",
      "endpoint": "http://api.graph.cool/mydatasource/dev",
      "path": ["query", "comments"]
    }
  }
]

This is really awesome @kbrandwijk. Let's see whether we can collaborate with the folks @apollographql on this, as this looks similar to the GraphQL tracing extension.

Yes, I took inspiration from that. I am already discussing this with them, because currently apollo-server has 2 hardcoded extensions and no way to specify another. Tooling is very limited there, the only place to do it is formatResponse, but doing this 'under the covers' means being extra careful about how to wrap this when the user also specifies it's own formatResponse. I'll open an issue on graphql-tools for this as well.


add readonly modules

This PR will add the following modules:

ReadonlyArray (done)
ReadonlyNonEmptyArray (done)
ReadonlySet (done)
ReadonlyMap (done)
ReadonlyRecord (done)
ReadonlyTuple (done)
other?

The goal is to obtain drop-in replacements for the mutable counterparts (with some exceptions, see the notes below).
Notes:

ReadonlyArray

didn't port copy, seems useless

ReadonlyNonEmptyArray

didn't port copy, seems useless
renamed fromArray to fromNonEmptyArray

Semigroup

changed fold's signature in order to support readonly arrays

Monoid

changed fold's signature in order to support readonly arrays

ReadonlyMap

renamed toArray to toReadonlyArray

ReadonlyRecord

renamed toArray to toReadonlyArray

ReadonlySet

renamed toArray to toReadonlyArray
renamed subset to isSubset

@raveclassic @gkamperis @steida @mlegenhausen @sutarmin @Wenquer @giogonzo
(tagging you all because of the discussion in https://github.com/gcanti/fp-ts/pull/1082, hope you don't mind..)
I have some questions:

should we make Tuple readonly or should we add a new ReadonlyTuple module?

Example
// before
export function swap<A, S>(sa: [A, S]): [S, A] {
  return [snd(sa), fst(sa)]
}

// after
export function swap<A, S>(sa: readonly [A, S]): readonly [S, A] {
  return [snd(sa), fst(sa)]
}

what about State and Writer?

export interface State<S, A> {
  (s: S): [A, S] // <= add the `readonly` modifier?
}

export interface Writer<W, A> {
  (): [A, W] // <= add the `readonly` modifier?
}

what about Strong and Choice?

// tuples...tuples everywhere...

export interface Strong<F> extends Profunctor<F> {
  readonly first: <A, B, C>(pab: HKT2<F, A, B>) => HKT2<F, [A, C], [B, C]>
  readonly second: <A, B, C>(pab: HKT2<F, B, C>) => HKT2<F, [A, B], [A, C]>
}

export interface Choice<F> extends Profunctor<F> {
  readonly left: <A, B, C>(pab: HKT2<F, A, B>) => HKT2<F, Either<A, C>, Either<B, C>>
  readonly right: <A, B, C>(pbc: HKT2<F, B, C>) => HKT2<F, Either<A, B>, Either<A, C>>
}

@gcanti I personally prefer for using read-only in all three cases, but looks like it would be a breaking change.
Since initial plan was to add new read-only modules and collect feedback before making them mandatory, looks like we should add a ReadonlyTuple module and leave all three cases as is.

@raveclassic the PR is still marked with "Changes requested", is there something to do?

@gcanti Sure, it's ready. Just slipped my mind, sorry.

@raveclassic no problem, thanks for reviewing


Streamlined installation steps in macOS 10.15+

macOS Catalina (10.15) introduces a new Security & Privacy privacy pane for Input Monitoring, as well as a framework-generated dialog box and workflow for guiding the user to enable settings for the app. KeyCastr's older security warning dialog interferes with this mechanism and we have a lot of open issues which are related.
In order to resolve this issue, a refactoring of the startup sequence on 10.15+ is needed. It is necessary to clean up the sequence of events during app startup, and the app-generated security warning alert can be removed for more recent versions of macOS. Will need to test on 10.14 and see whether it's necessary to preserve the security warning on older OS versions.

Basic fixes for this are on master as of https://github.com/keycastr/keycastr/commit/c8f84043d4714c893a55eb59b8ca65f73eeff6e3 .  The app will delegate the permissions dialog functions to macOS, and only display preferences if it makes sense to do so (so as not to overlap the system permissions dialog). This will go a long way in addressing installation-related issues on macOS Catalina, Big Sur and beyond. More testing is still needed on Mavericks, and we may need to conditionally bring back the legacy permissions dialog and workflow on that OS version or older.
This commit also fixes a weird glitch when the app exits, which hopefully no one besides me and @sdeken have noticed. This was achieved in this line
This commit also adds logic to the method for enabling/disabling casting to only proceed & update the UI if it is likely to be successful, i.e. if the event tap isn't installed then there's a very strong chance that casting can't be enabled.


[DISCUSSION]: move sqlparser to Apache (DataFusion) governance

(disclaimer: I am biased being the one who merges sqlparser prs and also am the Apache DataFusion PMC chair)
Problem Statement
sqlparser seems to have become the defacto sql parsing library in Rust (5.5M downloads at the time of this writing) 🎉
However the sqlparser-rs project doesn't have sufficient maintainer capacity.  I (@alamb) do enough to keep it from going entirely dormant, but that is really not sufficient for a healthy project.
Here are the specific problems:

Having contributors wait weeks for review feedback is a bad experience for everyone involved and for that I apologize.
There is not enough capacity to drive large projects (e.g. token locations) forward

Challenges with current governance structure (or lack thereof)

There is no clear way to add additional maintainers
Some employers (for example Apple) only permit contributions to explicitly vetted projects with clear governance (e.g. ASF)

Past discussions:

@andygrove has brought this up on the arrow mailing list: https://lists.apache.org/thread/q80j49poyg99x2c01900312qz7ps9wgp
Discussed adding @lovasoa @jmhain and @iffyio as maintainers here https://github.com/sqlparser-rs/sqlparser-rs/issues/1243 (reactions but no real discussions)
Discussion adding @AugustoFKL as maintainer: https://github.com/sqlparser-rs/sqlparser-rs/issues/808

When DataFusion was part of the Apache Arrow project, we didn't have the correct space to bring SQL parser at that time
Now that DataFusion is its own top level project (with @andygrove  and myself on the PMC) there is a natural space to do thos
Specific Proposal:

Move the sqlparser-rs code (and commit history) into the Apache DataFusion project and under its Governance. This would require an IP clearance process to run and would take time.
Move sqlparser-rs repository to apache/datafusion-sqlparser
Archive this repository, and leave links to apache/datafuson-sqlparser
Continue to release sqlparser versions approximately monthly.

Benefits of ASF governance;

More people can approve/merge PRs (committers to DataFusion)
Clear governance structure (rather than sqlparser-rs today which seems to be mostly me)
Clear path to add additional maintenaners (e.g. committers)

Drawbacks

There is a danger that sqlparser becomes "captured" by DataFusion and only accepts features needed for DataFusion
There is additional overhead to the ASF process (releases, in particular, take additional non trivial overhead)

There is plenty of experience with the ASF release process in DataFusion so I don't think that is a major hurdle. I also think DataFusion in general and sqlparser in particular has a long history of accepting features that benefit all users not just maintainers, so I am not worried about this either (but I am of course biased)
cc @Dandandan @tobyhede @andygrove @maxcountryman @nickolay

I am in support of this.

Hello! I'm not against it, and would love to be added as a maintainer under the asf governance, if we need some balance to avoid too much bias towards datafusion.

Yes, thank you @lovasoa  -- I would expect to discuss adding committers to DataFusion who focused on sqlparser-rs (as we have committers focused on another subproject, comet, and we had committers focused on datafusion when it was part of arrow)

I just realized I never actually responded to https://github.com/sqlparser-rs/sqlparser-rs/issues/1243. So: I'm happy to participate as a maintainer of sqlparser-rs regardless of where it ends up. I have a slight preference for keeping it independent but the arguments in favor of moving it under DataFusion seem reasonable.

My preference would be to keep the project independent but I'm not able to commit much time to it and it's admittedly a preference mostly based on the idea of how things might appear were it to be moved under the DataFusion project.

I like how @maxcountryman put it, but I believe the decision must be done by those maintaining the project.
I will take the opportunity to express my gratitude to @alamb for keeping the project going for as long as he has. Thanks for doing this, Andrew!

You have my full support.
I am personally so thankful for the endless hours you have put into sqlparser @alamb.
I would love to be involved in any way I can.

If you go this way would it mean creating a fork of the entire DataFusion project?

No I would expect that sqlparser-rs remains in its own repository (just the github organization would be different)

@andygrove  has started a vote thread here: https://lists.apache.org/thread/7tnq1v0dg2f2xw8c7611bk8mw8lz5dff

I am in favor of this proposal

We have started the ip clearance process: https://docs.google.com/document/d/1XPp1zG8yfkCfjusQH7_qr8FMBDDEQ5psR7HhZ1LuVC8/edit#heading=h.nlygv2z3fdg2
Mailing list thread: https://lists.apache.org/thread/1s1qv6gxy0ltzrqq9skxt7lomlq9w4gj

I think moving sqlparser-rs into datafusion repo will get more visibility and seems reasonable. Not very sure separate repo can substantially improve the current situation. But we can do this in followup action.

@iffyio @lovasoa and @jmhain  -- we are trying to move this process along and part of doing so is to get documentation in place for the Apache Software Foundation that all the code in the repo is ok from an ip clearance perspective.
As the most active contributors recently, would you be willing to submit an "Individual Contributor Licence Agreement" (ICLA )to the ASF? The document can be found here: https://www.apache.org/licenses/contributor-agreements.html
This document re-affirms that you have donated all code under the Apache Software License, and is the first step in becoming a committer on the project.
There is more details in @andygrove 's doc here:
https://docs.google.com/document/d/1XPp1zG8yfkCfjusQH7_qr8FMBDDEQ5psR7HhZ1LuVC8/edit

@alamb I have signed iCLA to ASF in another project(Apache Kvrocks), so it should be good to count me as already signed.

@alamb On it.

@alamb I've signed the ICLA

@iffyio has submitted an ICLA

@andygrove  what are the next steps here ? Is there anything i can do to help the ip clearance form (e.g. make ticket and @ mention the various sqlparser cotributors)? Help submit the ip clearance form?

@alamb @andygrove I have submitted iCLA to ASF for another project(Apache Kvrocks), so it should be good to count me(apache id: hulk) as recorded if requested iCLA for all contributors.

I sent my completed ICLA :)

Just sent my completed ICLA as well.

Thanks, everyone. I will start on the next step of this process in the next day or two.

Why not migrating the existing repository instead of creating a new one ? This would keep the issues, pull requests, etc...

🤔  that is a good idea. The trick is to figure out if the apache (destination organization) can accept such transfers. I will open a ticket to find out

🤔 that is a good idea. The trick is to figure out if the apache (destination organization) can accept such transfers. I will open a ticket to find out

Yes, it can. I did migrate another project into ASF: https://issues.apache.org/jira/browse/INFRA-25024, hope this would help.

Thanks @git-hulk  and @lovasoa  -- I have filed https://issues.apache.org/jira/browse/INFRA-26136 to request the transfer.

Here is the XML form for the IP clearance process:

HTML form: https://incubator.apache.org/ip-clearance/datafusion-sqlparser.html
We need to do a couple more things before we can start the IP clearance vote:

Add ASF headers to source code in this repo
Provide a snapshot of the code (and checksum) for review. I propose that we create a GitHub release and that automatically makes an archive available

Makes sense -- once the repo is in the apache org, we can work on that

Don't we need to complete the IP clearance process before moving the code into the new repo?

Don't we need to complete the IP clearance process before moving the code into the new repo?

We certainly need to complete the IP clearance process before making a new release. I am not sure about moving into the apache github organization
I will create a PR later today to add Apache License headers to the files in sqlparser-rs

Filed https://github.com/sqlparser-rs/sqlparser-rs/issues/1436 to track migration issues

The IP clearance vote has passed. Thanks to everyone who helped with this process!
https://lists.apache.org/thread/4qhyk23d0g01g3ccsffsxygwd6vj9b8k

I see that the repo has now moved 🎉

I plan to review / update https://github.com/apache/datafusion-sqlparser-rs/pull/1437 tomorrow with next steps

Now that the repo has moved and the project has been accepted, let's track the transition work in https://github.com/apache/datafusion-sqlparser-rs/issues/1436. Gere is the proposed plan going forward:
https://github.com/apache/datafusion-sqlparser-rs/issues/1436#issuecomment-2389078201
Comments more than welcome

@alamb as maintainer of other OSS project that uses sqlparser-rs (OpenLineage) just wanted to thank you for the continued maintanence, support and merging a few of our PRs :)

@mobuchowski  -- thank you for the kind words
The last few months @iffyio  has really been the key maintainer. 🙏  Thank you!


Added URL field to add command

URL field is optional. If user does not want to type in the URL, just leave out the "url/" prefix. A dummy "-" will be placed as a placeholder instead.
GuiRobot event timeout is lengthened to support test cases as the browser needs some time to load the url.

Pull Request Test Coverage Report for Build 70

64 of 66 (96.97%) changed or added relevant lines in 12 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 92.175%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/recipe/model/recipe/Recipe.java
8
9
88.89%

src/main/java/seedu/recipe/model/recipe/Url.java
15
16
93.75%

Totals

Change from base Build 68:
0.2%

Covered Lines:
1602

Relevant Lines:
1738

💛  - Coveralls


Fix(drive): query fix for 1 value and no where clause

Issue being fixed or feature implemented
We were only returning 1 (now we return up to limit if limit is defined). (Most likely the value was altered to 1 for a test and was forgotten to be reverted). We can also now handle no where clause.
What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have added or updated relevant unit/integration/functional/e2e tests
[X] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

ultra-light-utACK

So, did you click on the "Files changed" tab?? :smile:


If it's not already a feature I'm amazed no one has requested it.
I would like to be able to adjust available skill points when creating character & leveling up, rather than having to manually edit the individual skill values for a character every level if I want them to stay consistent with my level. I like passing most skill checks but still have the chance of a rare failure.
This functionality existed in the Kingmaker Bag of Tricks - a tickbox labeled "infinite skill points". The note said it had to be disabled to progress level up but it actually worked when always checked.
Thank you very much for your effort and time to save us effort and time.

this should be labeled as a bug since the unlimited skill points exist but don't seem to work at all, however, the ignore skill caps work as intended.


[ALLUXIO-2987] Prevent illegal reference counts in BlockOutStream

https://alluxio.atlassian.net/browse/ALLUXIO-2987

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16377/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16378/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16380/
Test PASSed.

@apc999 I've opened a PR to 1.5


Add GitExternal and SubProject cmake scripts from eyescale/cmake repo

These files have been relicensed with permission under the Boost license
which has been added accordingly.

That's great! Thanks!


Support compressed source images ("http://domain/image.qcow2.gz")

Description
Currently you can use only raw source images
images:
- location: "http://domain/image.qcow2"
  arch: "x86_64"
  digest: "sha512:123123"

Sometimes OS distributive does not have unarchived images on the website. It will be nice to have such capabilities to use archived source images.

What is "archived source images"?

What is "archived source images"?

Fo example: the source image gzipped or used another archive algorithm.
like this:
- location: "http://domain/image.qcow2.gz"

That is normally called compressed images (like .gz or .xz), where "archive" is normally reserved for something like .tar or .zip
Being able to automatically decompress would be a nice feature

What do you think about https://github.com/mholt/archiver module.
the workflow will be:

download file and check checksum
decompress the file if extension of file is "known compression format"
pass to next steps

What do you think about https://github.com/mholt/archiver module.

Looks overloaded.
Having a built-in support for gzip and maybe zstd is fine, but I'd prefer to use os/exec for other minor formats.

Flatcar still uses the legacy .bz2 format, as well


Added AzureAD AppOnly Auth to timerjob framework

Hi @erwinvanhunen, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


Windows Explorer preview pane not displaying Markdown file

Environment
Windows build number: 10.0.19592.1001
PowerToys version: 0.16.0
PowerToy module for which you are reporting the bug (if applicable): File Explorer

Steps to reproduce

Enable preview pane
Click on a Markdown file

Expected behavior
The preview pane displays the Markdown file.
Actual behavior
The preview pane does not display the Markdown file, instead displays text saying "No preview available."
Screenshots

Hi @nitishvijai
can you try with a different .md file?
I've attached and zipped the contributing.md file from our repo, it is expected to work, if it doesn't, try rebooting your PC (or just sign off and on again, or kill and restart Windows Explorer).
contributing.zip

Hello @enricogior,
I tried restarting Explorer and eventually restarting the whole system, but the Markdown previewer with Windows Explorer still does not work. I've ensured that PowerToys is up and running and that the necessary PowerToys are active.

Nitish

@nitishvijai does SVGs render in the preview pane?  Does a txt file render?

Hello @crutkas,
Txt files or any other extension does not render. Only pictures (JPG, PNG, BMP) will render.

Weird. A TXT should as that is a built in renderer.
So an SVG does not render?  You are on An insider flight. Interesting issue.

@nitishvijai With No Preview Available the reason will be Preview handlers are somehow not registered properly. Can you please share registry entry using Registry Editor for:

File type association for .md extension under Computer\HKEY_CLASSES_ROOT\.md\

Registered Preview handlers under Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers
and also under Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers

Computer\HKEY_CLASSES_ROOT.md:
(value not set)
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers:

Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers:

@nitishvijai Looks like somehow the installer were not able to add registry key under Computer\HKEY_CLASSES_ROOT\.md which is causing the issue. Can you try to uninstall/install the application and check if the installer were able to update the registry. Capture the installation log by installing with cmd
msiexec /i PowerToysSetup-0.16.0-x64.msi /l*v "install.log"

@nitishvijai is your machine maybe domain joined?  any company group policies?
Foxit PDF got installed it looks like.  But seems odd that txt wouldn't work.

@crutkas My machine is not tied to a domain or company.
@udit3333 I'll try that out.

@udit3333 I have attached the logs I created when uninstalling/installing PowerToys.
uninstall.log
install.log

@udit3333 Just confirmed that the registry key for Computer\HKEY_CLASSES_ROOT.md is still (value not set).

Update: I figured it out. I opened up File Explorer Options, and for some reason, the setting ticked 'Show preview handlers in preview pane' was unchecked. I checked it and the Markdown previewer works now. Thank you guys so much for your time!

We should have this to a FAQ

Hi all,
I have the same problem but it looks like something is wrong in a different place.
The values under the path Computer\HKEY_CLASSES_ROOT\.md\ and Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers should be correct.

However I cannot find the path Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers. It not exist in my machine.

I try uninstall and install again but not work. I still can not find the path.  There is the install log file.
install.log

We should have this to a FAQ

@crutkas Why not try to automatically change this setting's registry key to 1 while preview feature enabled? I have tested it and it looks effective immediately.

For FAQ, we do.  https://github.com/microsoft/PowerToys/wiki/File-Explorer-Add-ons-Overview.
For forcing a setting change to the OS, I feel maybe we should warn the user,

I got a similar issue, this time, the preview pane says This file can't be previewed because of an error in the Markdown Preview Handler.  when I tried to preview a markdown file.

I tried to take a look at the registry keys and here's how it looks like:

Computer\HKEY_CLASSES_ROOT\.md\

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers

However, I can't find the registry for Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers.

I got a similar issue, this time, the preview pane says This file can't be previewed because of an error in the Markdown Preview Handler. when I tried to preview a markdown file.

I tried to take a look at the registry keys and here's how it looks like:

Computer\HKEY_CLASSES_ROOT\.md\

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers

However, I can't find the registry for Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers.

I have similar issue too.when I hover on my md files the preview pane shows This file can't be previewed because of an error in the Markdown Preview Handler.

I got a similar issue, this time, the preview pane says This file can't be previewed because of an error in the Markdown Preview Handler. when I tried to preview a markdown file.

I tried to take a look at the registry keys and here's how it looks like:

Computer\HKEY_CLASSES_ROOT\.md\

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers

However, I can't find the registry for Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PreviewHandlers.

I have similar issue too.when I hover on my md files the preview pane shows This file can't be previewed because of an error in the Markdown Preview Handler.

@mehrdad-helmi
the problem you reported is not related to this issue, please open a new issue. Thanks.

@mehrdad-helmi
the problem you reported is not related to this issue, please open a new issue. Thanks.

@crutkas Maybe we should add this to the OOBE

Added a note in the doc in my pr.
For checking the registry and display a message in the UI, labels (for this issue) should be updated.

My .md preview stopped working with the March 2022 update to version 0.56.2 on my company desktop. I can still preview .pdf files.
My laptop still has 0.49 on it, and that client can preview Markdown.
My computers are corporate managed, I can't install or do much config without a ticket.

@chilismaug , Does disabling/re-enabling the .md preview on settings help? We did move these to be user based for this release, perhaps there's something there?

Yes, that kicked it back on - wow. Thanks for the tip. Odd that it didn't happen to PDF. Markdown, as always, is special!

@chilismaug you went from 0.56.0 to 0.56.2 and it stopped rendering?

Since this issue is so old, I want to close it. New/recent problems can be mentioned in (possibly) existing issues or one can be created if needed.

I still think we need to do do the docs aspect of it

I still think we need to do do the docs aspect of it

We have this:

https://github.com/MicrosoftDocs/windows-uwp/pull/3910


Build on windows 11

The downgrade databricks-connect (to 14.3.2) solution doesn't work since it has no serverless option in DatabricksSession.builder

workaround
pyproject.toml
...
databricks-connect = "*"
numpy= "^2" # fix issue up to databricks-connect:15.4.3
setuptools= "*" # for `No module named 'distutils'`

It is resolved by downgrading python version from 3.13 to 3.12


Remove Congratulations

Some folks have been put off by the "Congratulations" tone in this email, so remove it to make the email be more neutral.


Update angular variables inside notification text

Hello.
I know that this is only a wrapper for PNotify, but being built over AngularJS I thought it would be able to evalute angular $scope.
What I mean is: angular variables don't update inside the notification.
Isn't this service supposed to address this kind of thing?
Thanks in advance!

Hi,
No, this is not a supported use case. And without much research, I doubt it's even possible to do using PNotify.
Notifications, by nature (unless sticky ones), are short lived. I don't quite see the use case of being able to change the notification content while being displayed. It would also create a weird UX.

Thank you for the quick reply, @jacqueslareau ! Cheers


WPNXM-0.8.6-LiteRC-Setup-php70-w64 Adminer

Problem description
The adminer in WPNXM-0.8.6-LiteRC-Setup-php70-w64 is using the deprecated PHP 4 constructor instead of the PHP 7 constructor/
Expected behavior
No errors or warnings must show.
Possible solution
Please updated the adminer's php code to comply with php 7.

Hello Jorge,
thank you for reporting this issue.
Our installers include an old version of Adminer, which doesn't support the new constructors.
(Long story: This was an upstream issue with Adminer, which i've immediatly fixed and reported back in June 2015! You can find my pull request here https://github.com/vrana/adminer/pull/135
My patch was ignored and a patch by dg was merged instead, see https://github.com/vrana/adminer/pull/142).
Steps:

please download a newer version of Adminer, e.g. https://www.adminer.org/static/download/4.2.5/adminer-4.2.5.php
rename downloaded file to adminer.php
go to www\tools\adminer and replace the adminer.php file
That's it.

Regards, Jens

Thanks!
On Thu, Sep 1, 2016 at 5:38 PM, Jens A. Koch<EMAIL_ADDRESS>wrote:

Closed #608 https://github.com/WPN-XM/WPN-XM/issues/608.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/WPN-XM/WPN-XM/issues/608#event-774885072, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMHicvdafUO3e3QfbGlZb76PV8Nx3TT5ks5qlp0VgaJpZM4Jvad9
.


Accessing current context from within Sass functions written in JS

I'm currently playing with the experimental functions feature of libSass and am finding it very limited by the lack of context passed to the custom functions.
Typically, having the currently processed file passed as parameter to the custom functions would allow for on-the-fly URL conversion that would open the door to pure component-based approach.
Here is what I would like to do:
'url($url)': function(url, context) {
    return new sass.types.String('url("' + context.file.dirname + '/' + url.getValue() + '")');
}

This would rewrite every URL relatively to the currently processed file.
Let consider the following SCSS sources:
src/common/index.scss:

div {
    background-image: url('assets/images/bg.jpg');
}

src/component1/index.scss:
@import "../common/index.scss";
Rendering src/component1/index.scss would result to:
div {
    background-image: url('src/common/assets/images/bg.jpg');
}

Without URL rewriting, rendering src/component1/index.scss would result to:
div {
    background-image: url('assets/images/bg.jpg');
}

Which would lead to a 404 on the background image.

Sounds like a duplicate of #895. Some progress was made by adding additional context to this in custom functions.

@xzyfer You're right, this issue is a duplicate.

Closing this in favour of #895 .


Device lost looping when try to recompile shaders

I loaded HUGE scene BistroExterior.gltf and all rendered ok.
When I press ctrl-R to recompile shaders I have error

And program looped and failed.
I use Windows 10 and RTX 3060

I cannot reproduce the issue
gltfr::GltfRendererElement::reloadShaders
| gltfr::RendererPathtracer::initShaders -> 217.370 ms
|-> 273.682 ms
gltfr::RendererPathtracer::createIndirectPipeline -> 2.382 ms

When reloading the shaders, it is loading them from two areas

vk_gltf_renderer
nvpro_core

Can you also reproduce it with any other scene, because it should not be related.

What about this issue? Not reallocated memory well when shader compile?
Scene use 95% of my GPU mem

I was able to load two instances of vk_gltf_renderer with the Bistro scene. While the first one was already utilizing 90% of the memory, the second one ramped up to 98% while the first one, offloaded its memory.
The NVML monitor helps inspecting what it is going on. Nevertheless, reloading the shaders does not affect memory utilisation and it is possible to reload the shaders even in constraint situation.
Back to my question:

Can you also reproduce it with any other scene, because it should not be related.

Please make sure all git repository are updated. And if this is still reproducible, please give more details on how the application was started: within Visual Studio,  after CMake install and run in the folder, etc...

I find source of issue.
I change a bit shader and it is compare with very big number. Fix it and issue is gone

Thanks for the update. Glad you found the problem in the shader code-it now makes sense why it was causing problems, and it's clear it wasn't memory or shader reloading related.
As I mentioned earlier, reloading shaders doesn't usually affect memory usage, even in constrained scenarios like the Bistro scene. After testing several scenes on my end, everything worked fine, so it appears that the issue was specifically caused by your shader modification.
That said, it would have saved time on our end if the change and its details had been shared earlier, as we spent unnecessary time investigating a bug that didn't exist. In the future, please be sure to provide enough information and double check your changes before reporting a problem.
If you experience other problems, please do not hesitate to share more details. As always, we are grateful for your reporting of any issues you may find.


Fix monitoring deployment with  ArgoCD

This PR is to address errors while monitoring is getting deployed using ArgoCD
Signed-off-by: Bama Charan Kundu<EMAIL_ADDRESS>

/lgtm

/retest

This didn't get into the merge pool; looks like a random timeout failure.


⚠ Feedaty widget has degraded performance

In 7aa4caa, Feedaty widget (https://widget.feedaty.com/public/js/feedaty.js?merchant=10213975&style_ver=2021&data-sku=36263) experienced degraded performance:

HTTP code: 200
Response time: 9028 ms

Resolved: Feedaty widget performance has improved in 9874db3 after 3 minutes.


Scheduled Import doesn't work

After getting the currency update warning email on the old version which worked flawlessly, we updated to this new version, created a legacy api key and followed all instructions.
The overnight automatic update doesn't update the currencies.
There is no failed email.
Checking the api usage on fixer.io we can see the api requests are going through.
We can log into Magento and manually retrieve the rates import them.
We are using Magento <IP_ADDRESS>

I never tested this.  I will work on this.  Thanks for reporting!!

@df2k2, are there any updates on the issue? It seems that I have the same problem. I'm using Magento <IP_ADDRESS>

I can't remember off the top of my head if it started working or not.  I have just checked my diary and my last mention of this was the 26th June (which was 12 days after my report above that it wasn't working).  I have no notes after that.  I'll check to see if the rates on my 2 live websites update overnight and I'll reply here to let you know vprohorova

@vprohorova I have now checked my 2 live websites and the currencies are automatically updating for both.  My diary mentions no changes or fixes that I did, so I can only assume it started working/df2k2 made a correction or fix after I first requested the issue.  All I can recommend to you is to check your fixer.io login to make sure your API key is making requests. Hope it started working for you, it's a great plugin.


svg and canvas styles leak through to markers

These lines make it harder to use SVG and Canvas elements in markers, as you have to explicitly override these styles. Would it be possible to use something more specific?

Closed by #4597.

Thank you!


Can we use timescale-prometheus connector with existing Postgres database

Hi,
Can we used timescale-prometheus connector with existing Postgres database instead of timescaleDB?

Hi @asharabu,
Unfortunately, the connector does not support running on a Postgres database because it needs time-series specific functionality from TimescaleDB in order to function properly.


Add contributor

@all-contributors please add @trangology  for Code

@all-contributors please add @trangology for code

Sorted 🙏🏽  many thanks @trangology


[Bug]: selectedDataPoint does not contain x and y values for Sankey custom fusion chart

Is there an existing issue for this?

[X] I have searched the existing issues

Description
selectedDataPoint does not contain the x and y coordinate when clicked on a datapoint present on the sankey custom fusion chart.
Front - user: https://app.frontapp.com/inboxes/teams/folders/15690316/archived/84143541516
Steps To Reproduce

Dnd chart widget
Switch to custom charts
Add the following chart config:

{
  "type": "sankey",
  "dataSource": {
    "nodes": [
      {
        "label": "Netherlands"
      },
      {
        "label": "Canada"
      },
      {
        "label": "Belgium"
      },
      {
        "label": "Italy"
      },
      {
        "label": "Mexico"
      },
      {
        "label": "Russia"
      },
      {
        "label": "Spain"
      },
      {
        "label": "South Korea"
      },
      {
        "label": "Germany"
      },
      {
        "label": "China"
      },
      {
        "label": "European Union"
      },
      {
        "label": "Japan"
      },
      {
        "label": "United Kingdom"
      },
      {
        "label": "United States"
      },
      {
        "label": "France"
      },
      {
        "label": "Hong Kong"
      },
      {
        "label": "Switzerland"
      },
      {
        "label": "Austria"
      },
      {
        "label": "Sweden"
      }
    ],
    "links": [
      {
        "from": "Netherlands",
        "to": "European Union",
        "value": 798744
      },
      {
        "from": "Germany",
        "to": "European Union",
        "value": 1468990
      },
      {
        "from": "European Union",
        "to": "France",
        "value": 745931
      },
      {
        "from": "European Union",
        "to": "United States",
        "value": 660541
      },
      {
        "from": "Canada",
        "to": "United States",
        "value": 594546
      },
      {
        "from": "Belgium",
        "to": "European Union",
        "value": 628796
      },
      {
        "from": "China",
        "to": "Hong Kong",
        "value": 400571
      },
      {
        "from": "China",
        "to": "United States",
        "value": 526454
      },
      {
        "from": "European Union",
        "to": "United Kingdom",
        "value": 520318
      },
      {
        "from": "China",
        "to": "European Union",
        "value": 560536
      },
      {
        "from": "Italy",
        "to": "European Union",
        "value": 539556
      },
      {
        "from": "Mexico",
        "to": "United States",
        "value": 492715
      },
      {
        "from": "Russia",
        "to": "European Union",
        "value": 385778
      },
      {
        "from": "Spain",
        "to": "European Union",
        "value": 365191
      },
      {
        "from": "China",
        "to": "Japan",
        "value": 312062
      },
      {
        "from": "European Union",
        "to": "Switzerland",
        "value": 328609
      },
      {
        "from": "South Korea",
        "to": "China",
        "value": 229073
      },
      {
        "from": "European Union",
        "to": "Austria",
        "value": 244913
      },
      {
        "from": "Japan",
        "to": "United States",
        "value": 206091
      },
      {
        "from": "European Union",
        "to": "Sweden",
        "value": 204849
      },
      {
        "from": "Germany",
        "to": "United States",
        "value": 184287
      }
    ],
    "chart": {
      "caption": "Immigrant Flow for Last Month (In Millions)",
      "legendPosition": "bottom",
      "linkcolor": "blend",
      "theme": "fusion"
    }
  }
}

Configure onDataPointClick event of chart widget.
Dnd text widget and map it's text property to the following: {{Chart1.selectedDataPoint}}.
Observe that on click of data point on chart, the x and y values does not appear in theselectedDataPoint object.

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud

This issue is happening because dataPlotClick event does not contain categoryLabel and dataValue properties when a data point is clicked on a sankey chart type.
Suggested solution:
The sankey chart type data plot click event contains label and value. We should map x and y coordinates to these values when chart type is sankey here.


Require only requested cgroups to be present

Fixes #109. Previously we required all cgroups subsystems to be present even if no resource restrictions were specified in the config.json that would have required that subsystem. Now only the subsystems necessary to to satisfy the request need to be available.

Very nice :100:


Setup permissions system for using camera from app

Still need to implement. Permissions need to be set up for the map as well. To run  currently, manually enable permissions from settings.

Done by Minh.


setting up TLS and HTTPS

Cant find how to set up the config file for this.
Sorry if this is somewhere but no luck so far.

ok found it...
On CaddfyConfig docs page

https://caddyserver.com/docs/tls - just one line should enable https. Does that help?

Ah, glad you found it!

wow thats quick Matt.
OK, from the folder that i have the caddyfile i ran: openssl req -newkey rsa:2048 -new -nodes -keyout key.pem -out cert.pem
--> Press enter for everything except CN, which is "localhost"
then I update the caddyfile with:
"
localhost
gzip
browse
ext .html
websocket /echo cat
log ../access.log
header /api Access-Control-Allow-Origin *
tls cert.pem key.pem
"
then from terminal its just "caddy", and i get the error:
localhost:2015
2015/05/24 19:21:19 crypto/tls: failed to parse certificate PEM data

Ok got it working.
No need to add the CN as localhost. Just hit enter on everything when the certs are being created.
too easy :)

Using openssl req like that generates a CSR, not a certificate. Er, I think. Try this page for more info: https://www.openssl.org/docs/HOWTO/certificates.txt

Okay, I guess that works then.

it works but i get these "strange" outputs form Caddy.
All i have to do is refresh a page
2015/05/24 19:29:23 error reading preface from client <IP_ADDRESS>:59929: read tcp <IP_ADDRESS>:59929: connection reset by peer

That's normal with HTTP/2, for now. They should go away as the HTTP/2 library matures.


[Feature Request] limit prevent to certain keys

It would be handy to be able to use the prevent function with a subset of keys.
For example, it could make sense to use F-Keys in input fields to change a focus or open a dialog etc.

Great! I'll test them! thx so much

@iFgR just stumbled upon this issue looking for the exact same capability. I just wanted to see if you had a chance to test and were planning on merging? Let us know if there is anything we can do to help! Thanks!

I am happy to help to get this feature added :)

+1 this is exactly what I need as well. The proposed idea of adding an except option would work perfectly for me, as I'd also like to be able to esc out of inputs/textareas.


add metadata like prompt tokens to generate_stream response

Feature request
Add metadata to generate_stream response like headers x-prompt-tokens, x-generated-tokens, x-compute-time, x-total-time, x-validation-time, x-queue-time, x-inference-time, x-time-per-token in generate response.
Motivation
We need to report metrics like tokens, computing time when calling generate_stream. It'll be convenient if generate_stream response contains the data.
Your contribution
I'll try to submit a PR when I have time.

+1

Probably not trivial as the response header is returned immediately when using streaming?
import requests

session = requests.Session()

url = "http://<IP_ADDRESS>:80/generate_stream"
data = {"inputs": "Today I am in Paris and", "parameters": {"max_new_tokens": 20}}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=data, headers=headers)

response = session.post(
    url,
    json=data,
    headers=headers,
    stream=True,
)

for line in response.iter_lines():
    print(f"line: `{line}`")

print(response.headers)

relevant code https://github.com/huggingface/text-generation-inference/blob/a25737139d302390edc40ee2d9d92109c7720c04/router/src/server.rs#L663

cc @Narsil design-wise, is this feasible?

@fxmarty Maybe returns these data in response body will be better, like this
  {
    "metadata": {
      "tokenMetadata": {
        "inputTokenCount": {
          "totalTokens":
        },
        "outputTokenCount": {
          "totalTokens":
        }
      }
    }
  }


When to use SyncCopyFromCPU and SyncCopyToCPU - C++

Hi, i want to ask for the difference between SyncCopyFromCPU and SyncCopyToCPU. I don't get it from the mxnet c++ reference.

@mrRo8o7 Please close the issue if your query is resolved.
Also, Please use the user forum for how-to questions. You'll get quicker responses there. https://discuss.mxnet.io/

I don't know how to set the parameter 'size' in SyncCopyFromCPU?


DotNet 9 Support?

Hi,
First of all, thank you for this project, much appreciated.
I have changed the .Net version to 9 and am having an Issue...
I added the following to try and debug a bit...
   if (!window.Module) {
        console.error("Module in generateDownloadLink is not defined.");
        return false;
    }

When I try to add a new record if crashes.

Has anyone got this working in .Net 9 preciew 2?
Thanks,
Dean.

@JeremyLikness

@DWhiteR1
I've found the field we need (Module).
It has moved from window.Module to Blazor.runtime.Module.
You could do window.Module = window.Blazor.runtime.Module and thus make your way around it.
Meanwhile I'll try to make a PR with adjustments, so that the code will know that the Module may now reside elsewhere

@JeremyLikness
I tried to push the transition to .net 9, but I don't have the permission to create new branch in the origin.
Could you grant me it?

@JeremyLikness I tried to push the transition to .net 9, but I don't have the permission to create new branch in the origin. Could you grant me it?

@DWhiteR1 I've found the field we need (Module). It has moved from window.Module to Blazor.runtime.Module. You could do window.Module = window.Blazor.runtime.Module and thus make your way around it. Meanwhile I'll try to make a PR with adjustments, so that the code will know that the Module may now reside elsewhere

Thank you very much,
I will have a look when I get home tonight.
Much Appreciated.

@DWhiteR1 I've found the field we need (Module). It has moved from window.Module to Blazor.runtime.Module. You could do window.Module = window.Blazor.runtime.Module and thus make your way around it. Meanwhile I'll try to make a PR with adjustments, so that the code will know that the Module may now reside elsewhere

Worked perfectly, thanks again.

Greetings
You can leverage latest pre-release of Bit.Besql nuget package.
Here's the list of issues that are resolved among the .NET 9 support:
1- EF Core migrations support: The library should be updated to support EF Core 8's latest features, including migrations, to ensure compatibility with modern development practices.
2- IDbContextFactory injection: The library should allow the injection of IDbContextFactory instead of ISqliteWasmDbContextFactory, enabling developers to share code seamlessly between Blazor hybrid and server applications. The current reliance on ISqliteWasmDbContextFactory can be restrictive and even harmful in such scenarios.
3- Simplified database creation and migration: Developers should have a straightforward way to either execute DbContext.Database.CreateAsync() or DbContext.Database.MigrateAsync() instead of providing an IMigration implementation, to simplify database creation and migration processes.


bug Fix Kerberos issue in HDFS with run_kinit

Proposed changes

Address the issue where run_kinit passes a local variable pointer to the
builder in HDFS under a Kerberos scenario. This leads to the variable memory
being released after run_kinit ends, causing createHDFSBuilder to fail in
retrieving kerberos_chache_path, resulting in a Kerberos error.
Replace the use of hdfsBuilderConfSetStr when setting the parameter
hadoop.security.kerberos.ticket.cache.path. Instead, use the provided
hdfsBuilderSetKerbTicketCachePath from Hadoop for successful configuration.
This fix ensures proper memory management and correct usage of Hadoop's
APIs for Kerberos configuration
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

Attached BE error log:W1229 14:56:23.713946 19627 fragment_mgr.cpp:261] Got error while opening fragment a9c07cbec2d54ea8-99a7a980232f1583, query id: a9c07cbec2d54ea8-99a7a980232f1582: [INTERNAL_ERROR]failed to init reader for file /hive/000000_0, err: [INTERNAL_ERROR]Seek to offset failed. (BE: <IP_ADDRESS>) offset=0, err: (9), 错误的文件描述符), reason: AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]

来信已经收到 我会尽快查看


Improve handling of quarkus.*.enabled configuration properties

Looks good. However, it seems to generate a NoClassDefFoundError build issue:
java.lang.NoClassDefFoundError: io/opentelemetry/sdk/metrics/SdkMeterProvider

Looks good. However, it seems to generate a NoClassDefFoundError build issue:
java.lang.NoClassDefFoundError: io/opentelemetry/sdk/metrics/SdkMeterProvider

I'll take another look. I did see that locally, but it seemed to stop happening after I changed some things around.

The OpenTelemetry issue should be fixed in the latest commit. Some how I must have reverted my local code to some experimental stuff that I was trying.


Error: Network Error. Check console for details.

When sended "get url https://www.qq.com",response:Error: Network Error. Check console for details.
But it was normal when enabled official proxy.
I think it wasn't have to enable the proxy,I just used the postwoman as a client.

@wuyish please tell how to reproduce the issue.

@wuyish please tell how to reproduce the issue.
I tried again，but it didn't work when enabled the proxy  now.

The mentioned endpoint: www.qq.com seems to be blocking requests from https://postwoman.io
For these kinda situations, we implemented Proxy. Enable Proxy to intercept such request endpoints.


Support for WebClient

WebClient API docs

duplicates https://github.com/seachicken/inga/issues/77


Updated loopbackURL to use requested port from check.

Previously was defaulting to port of healthchecks service.

The loopbackURL is for making a loopback request to the same host/port which requested the check.


User role's related code should be commented

User role hasn't been implemented yet, thus it should be commented out to avoid error when starting app.
https://github.com/lqmanh/fastapi-app/blob/main/{{cookiecutter.project_slug}}/{{cookiecutter.package_name}}/modules/users/users_models.py#L10

Fixed in 7e942f3.

Fixed in 7e942f3.


Create a logo

Description
Create a logo, and create favicon icons with it.

🙏 I can get help from the greatest designer of all time, @parisroman on this one 🤗

🙏 I can get help from the greatest designer of all time,  @parisroman83 on this one 🤗


Wrap returned value from codegen_place in a Result to account for the possibility of an error due to unsupported operations

Description of changes:
Currently, codegen_place returns a ProjectedPlace. For projections that are currently not supported, Kani panics since it's not possible to return a codegen_unimplemented expression as a ProjectedPlace. This PR changes the return type of codegen_place to a Result<ProjectedPlace, Err(...)> so that it can return an error for those cases that is then handled by the caller through calling codegen_unimplemented.
Resolved issues:
Part of #707.
Call-outs:

Testing:

How is this change tested? A new test for sub-array binding was added that checks that Kani doesn't crash, and instead reports that the construct is not supported.

Is this a refactor change? Part of it is.

Checklist

[X] Each commit message has a non-empty body, explaining why the change was made
[X] Methods or procedures are documented
[X] Regression or unit tests are included, or existing tests cover the modified code
[X] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

It looks good to me.
Can you please check what kind of error the user will get when we fail to generate a projection Expr that is used to generate other expressions? For example, when the projection is on an assignment like this:
let wrong.projection = value;

Thanks!

Can you please check what kind of error the user will get when we fail to generate a projection Expr that is used to generate other expressions?

I used the following small program as an example:
#[kani::proof]
fn main() {
    let mut x = 5;
    let y = &mut x;
    *y = 9;
    assert!(x == 9);
}

and replaced the implementation of ProjectionElem::Deref in https://github.com/model-checking/kani/blob/446167f8d81a33d0e3fa4de906fb6c9ef3c8a086/src/kani-compiler/src/codegen_cprover_gotoc/codegen/place.rs#L297 by
                Err(UnimplementedData {
                    operation: "deref".to_string(),
                    bug_url: "".to_string(),
                    goto_type: self.codegen_ty(inner_mir_typ).to_pointer(),
                    loc: Location::None,

With that, Kani reported a single failure:
RESULTS:
Check 1: unsupported_construct.1
         - Status: FAILURE
         - Description: "deref is not currently supported by Kani. Please post your example at "

Check 2: main.assertion.1
         - Status: UNDETERMINED
         - Description: "assertion failed: x == 9"
         - Location: deref.rs:6:5 in function main

SUMMARY:
 ** 1 of 2 failed (1 undetermined)
Failed Checks: deref is not currently supported by Kani. Please post your example at

VERIFICATION:- FAILED

** WARNING: A Rust construct that is not currently supported by Kani was found to be reachable. Check the results for more details.

and neither Kani nor CBMC produced any other warnings/errors. The --gen-c output also indicates that the assignment to *y was completed omitted:
// file /home/ubuntu/examples/deref.rs line 2 column 1 function main
struct Unit main(void)
{
  struct Unit var_0;
  int x;
  int *y;
  struct Unit var_3;
  _Bool var_4;
  int var_5;

bb0:
  ;
  x = 5;
  y = &x;
  /* deref is not currently supported by Kani. Please post your example at  */
  assert(0);
  __CPROVER_assume(0);
  nondet_0();
  var_5 = x;
  var_4 = var_5 == 9;

This is because the callers to codegen_place will not proceed with performing the assignment if it returned Err.


chessmint is being blocked by chess.com

It stopped working a few days ago, the site must be blocking it

But it was working last day but suddenly at night I found that it wasn't working how to get it back ,is there any hope of riving chessmint?

Hey if you know any other extention equivalent to chessmint level? Tell me please

The same happened here, did it fix for you?

fix it same prblem here

Hey if you know any other extention equivalent to chessmint level? Tell me please

Bettermint

The same happened here, did it fix for you?

use bettermint

But bro it's not as strong as chessmint

Meabe we can put better engine inside :P

bettermint is a very weak engine, it gets routinely beaten by many players when chess mint had a much stronger engine. I was practically invincible with it.

Bro bettermint is. Not a weak engine you gotta do some changes in settings of this extension.First of keep your depth onto 15 and then maxed out elo ,skill level and mate finder and don't forget to turn on nnue and mate finder keep limit strength turned off and here you go

Bro bettermint is. Not a weak engine you gotta do some changes in settings of this extension.First of keep your depth onto 15 and then maxed out elo ,skill level and mate finder and don't forget to turn on nnue and mate finder keep limit strength turned off and here you go

Bettermint has a terrible engine.
I compared chessmint and bettermint a month or 2 ago.
Both depth are set to 4, and i set level engine of bettermint to the max and i turned on auto move too. Best move probability is 100 percent.
The results are: Chessmint ALWAYS won.
When i viewed the game i noticed a few things:

Bettermint seems to miss an obvious checkmate.
When i saw bettermint's accuracy, its very low compared to chessmint.
Bettermint made dumb blunders for some reason idk why because i haven't made changes to the settings.

Idk if the problems have been fixed because i tested this a while ago

I tested bettermint by making it play against Komodo,maximum of chess.
Com every time I took the help of bettermint against maximum I won every single time sometimes convincingly I think the problem of not finding easy mate by bettermint can be sorted out by enabling nnue and max out mate finder if you don't believe you can see proof of beating Komodo by bettermint on my you tube channel by the way I tested chessmint by making it play against Komodo but on the depth of 15 it Would always lose however on the depth of 17 it would make draw but on 20 depth it would beat Komodo but on depth 20 it would take a lot of time move on the other hand bettermint crushed Komodo on the depth of 11 with Nune turne on if you don't believe me watch' it on my YouTube channel the link https://youtube.com/@AmanRight-cl2wb?si=Kn8D6X_65Avc9KTe

I tested bettermint by making it play against Komodo,maximum of chess. Com every time I took the help of bettermint against maximum I won every single time sometimes convincingly I think the problem of not finding easy mate by bettermint can be sorted out by enabling nnue and max out mate finder if you don't believe you can see proof of beating Komodo by bettermint on my you tube channel by the way I tested chessmint by making it play against Komodo but on the depth of 15 it Would always lose however on the depth of 17 it would make draw but on 20 depth it would beat Komodo but on depth 20 it would take a lot of time move on the other hand bettermint crushed Komodo on the depth of 11 with Nune turne on if you don't believe me watch' it on my YouTube channel the link https://youtube.com/@AmanRight-cl2wb?si=Kn8D6X_65Avc9KTe

I guess they fixed it 🤷♂

I also believe that to an extent chessmint was a better engine but we can't do anything now if you got it fixed then let me know as well

Chess.com still didn't block Chessmint on puzzles idk why

What does it work on puzzle?

Let me see i thought I doesn't

It means It wouldn't have been blocked by chess.com or rather it's a bug in chessmint itself

Bro then we can fix chessmint in some way it works on puzzles

Chess.com detects Bettermint, accounts are getting banned and this extension is not working at all


US securities market order

The place_order function only executes limit order. How can I place a market order?

Hi,
           The market supports  market order. You can check the content of this link to guide you.

https://openapi.moomoo.com/moomoo-api-doc/qa/trade.html#3828
发件人: @.*** @.> 代表 Di Du
发送时间: 2023年11月8日 11:49
收件人: MoomooOpen/py-moomoo-api @.>
抄送: Subscribed @.***>
主题: [MoomooOpen/py-moomoo-api] US securities market order (Issue #1)
The place_order function only executes limit order. How can I place a market order?
—
Reply to this email directly, view it on GitHub https://github.com/MoomooOpen/py-moomoo-api/issues/1 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BBDO3CVH7KAO5EYY7JP36P3YDL6LPAVCNFSM6AAAAAA7CGWHZCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DENRXGIYTSNY .
You are receiving this because you are subscribed to this thread.  https://github.com/notifications/beacon/BBDO3CSPFM4D4MUCA4GKDCDYDL6LPA5CNFSM6AAAAAA7CGWHZCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHMLJNIU.gif Message ID: @.*** @.***> >


Refactor of DBIFactory (Issue #2056)

Refactor of DBIFactory (Issue #2056)

Split DBI construction and configuration into dedicated protected methods.
Added unit tests to verify default configuration.

Please also merge this into master.
Thank you!

Coverage increased (+0.008%) to 84.77% when pulling 6ee105a28cdf690deb84e0f34cf94b07221edb04 on isaki-x:dw-2056 into 07a10877de9bf0be5f4e3c7c0dc294f0aa47b046 on dropwizard:release/1.1.x.

Coverage increased (+0.008%) to 84.77% when pulling 6ee105a28cdf690deb84e0f34cf94b07221edb04 on isaki-x:dw-2056 into 07a10877de9bf0be5f4e3c7c0dc294f0aa47b046 on dropwizard:release/1.1.x.

For some reason the Travis CI changes completed successfully but the pull request shows them as pending.

Github support has asked me to close and re-open this to try and fix the hung Travis status.

Re-opening as per GitHub support.

Coverage increased (+0.008%) to 84.77% when pulling ce5a5e07015948e9560bd976ddf16205c5c5d244 on isaki-x:dw-2056 into 07a10877de9bf0be5f4e3c7c0dc294f0aa47b046 on dropwizard:release/1.1.x.

Thank you very much for the contribution and a very thorough unit test!

Applied to master as b6097f2ee2b3714f11d7c43318b2a44f51397cc7

Thank you!


Integrating rqt_plot with the data published by simulator on the IMU and DVL topics

To do tuning of Fuzzy controller, we tried to integrate dynamic plotting for two rostopics :

/kraken/sensor/dvl/bi_x_axis
/kraken/sensor/imu

Issues :
With the first one : it is showing gibberish values on x-axis. http://wiki.ros.org/Clock#Using_Simulation_Time_from_the_.2BAC8-clock_Topic
Please have a look at the above link. I think we have to find a way to use time of uwsim.
With the second one the issue is that the subtopics like "orientation x" etc. are not being shown in the rqt_plot GUI.

cc @prudhvid @icyflame @kalyan-kumar @ManviG

@kshitijgoel007 When you say:

subtopics like "orientation x" etc. are not being shown in the rqt_plot GUI.

You mean the orientation_x variable in the IMU message definition? And AFAIK, I have seen that feature in rqt_plot. It is there in the right top corner, in the drop down box. Tell me if I am wrong.

Yeah, the feature is there. I'm using that feature only. But the problem is /kraken/sensor/imu/ is showing up. Not the subtopics.
Whereas in /kraken/sensor/dvl, subtopics also show up. Like : /kraken/sensor/dvl/bi_x_axis.
It seems ROS is not able to recognize subtopics of imu rostopic.

See these pictures. rqt_plot is able to detect dvl topic ('+' sign), but not the imu topic ('+' sign not activated)

@kshitijgoel007 I think that neither IMU nor DVL have "sub topics", it just has variables inside it's message. See the IMU message file and the DVL message file. They are identical except for the size of the array that they have.
Thanks for the screenshot!
Let me check if the simulator uses different message files for publishing the DVL data.
It is possible that the simulator publishes a lot more data than our physical DVL does. So, @kalyan-kumar and @prudhvid may have had to redirect only stuff that we need into the /kraken/sensor/dvl topic. Although, this is just a theory.

cc @prudhvid @kalyan-kumar @aniket11bh

Okay, I found the remap code.
@prudhvid and @kalyan-kumar Did you check whether the IMU and DVL messages that we use are identical to the ones used by the simulator? I think that's the reason that we are not able to get proper data from the simulator.
cc @aniket11bh @kshitijgoel007

Yeah, I mistakenly called them "subtopics". They are variables indeed.
But we intend to use/subscribe them separately in out controller-ROS
integration code. So we need separate access to them. Like :
/kraken/sensor/imu/orientation_x.
DVL topic is well arranged.
On Wed, Sep 30, 2015 at 4:01 PM, Siddharth Kannan<EMAIL_ADDRESS>wrote:

Okay, I found the remap code
https://github.com/auviitkgp/kraken_3.0/blob/indigo-devel/simulator_stack/thruster_remap_g500/launch/remap.launch#L10
.
@prudhvid https://github.com/prudhvid and @kalyan-kumar
https://github.com/kalyan-kumar Did you check whether the IMU and DVL
messages that we use are identical to the ones used by the simulator? I
think that's the reason that we are not able to get proper data from the
simulator.
cc @aniket11bh https://github.com/aniket11bh @kshitijgoel007
https://github.com/kshitijgoel007
—
Reply to this email directly or view it on GitHub
https://github.com/auviitkgp/kraken_3.0/issues/73#issuecomment-144349511
.

@kshitijgoel007 Okay. Let's wait for Prudhvi or Kalyan to respond.

We didn't check if they were similar. But yesterday while discussing with Aniket that is what we have concluded.
And yes, those are just variables of the message and not subtopics.

Topics /g500/imu and /g500/dvl, which we have remapped to topics /kraken/sensor/imu and /kraken/sensor/dvl respectively get messages underwater_sensor_msgs/DVL and sensor_msgs/Imu. But our topics get the messages dvlData and imuData. But after remapping the messages that /kraken/sensor/imu and /kraken/sensor/dvl get are underwater_sensor_msgs/DVL and sensor_msgs/Imu. We need to see how the values are being calculated in these messages and change our calculations accordingly to get proper values in our topics.

@kalyan-kumar Yes, indeed. That's right.
P.S. Please use GFM next time onwards for better markup. I edited your comment and split up logical sections into different paragraphs.

This issue is the same as #74 .
It is confusing to have two issues about the same thing. I am closing this in favor of #74.