npx @backstage/create-app not working / sqlite3 NOT found

Expected Behavior
I am new to npm / node but I think backstage is a thing we need in our company....
I am trying to create an app....
npx @backstage/create-app

Current Behavior
following error is printed:
error C:\ent\backstage\rsg\node_modules\sqlite3: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: C:\ent\backstage\rsg\node_modules\sqlite3
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using<EMAIL_ADDRESS>node-pre-gyp info using<EMAIL_ADDRESS>| win32 | x64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for "C:\ent\backstage\rsg\node_modules\sqlite3\lib\binding\node-v83-win32-x64\node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-win32-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-win32-x64.tar.gz
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v83 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-win32-x64.tar.gz
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\wrssmi\AppData\Local\Programs\Python\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                       ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:308:12)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\ent\\nodejs\\node.exe" "C:\\ent\\backstage\\rsg\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\ent\\backstage\\rsg\\node_modules\\sqlite3\\lib\\binding\\node-v83-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\ent\\backstage\\rsg\\node_modules\\sqlite3\\lib\\binding\\node-v83-win32-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"
gyp ERR! cwd C:\ent\backstage\rsg\node_modules\sqlite3
gyp ERR! node -v v14.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\ent\nodejs\node.exe C:\ent\backstage\rsg\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\ent\backstage\rsg\node_modules\sqlite3\lib\binding\node-v83-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\ent\backstage\rsg\node_modules\sqlite3\lib\binding\node-v83-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\ent\backstage\rsg\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Windows_NT 10.0.17763
node-pre-gyp ERR! command "C:\\ent\\nodejs\\node.exe" "C:\\ent\\backstage\\rsg\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\ent\backstage\rsg\node_modules\sqlite3
node-pre-gyp ERR! node -v v14.15.1
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'C:\ent\nodejs\node.exe C:\ent\backstage\rsg\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\ent\backstage\rsg\node_modules\sqlite3\lib\binding\node-v83-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\ent\backstage\rsg\node_modules\sqlite3\lib\binding\node-v83-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
yarn install v1.22.1

Context
initial setup was ok
start of backend and frontend also works. I can browse localhost:3000 and it looks nice.
Your Environment
C:\ent\backstage>node -v
v14.15.1
C:\ent\backstage>yarn -v
1.22.1
C:\ent\backstage>npm -v
6.14.9
OS
Windows 10

Could you try with node version 12 instead?

Hi! What I see in the logs is
gyp ERR! stack Error: Command failed: C:\Users\wrssmi\AppData\Local\Programs\Python\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];

This looks like python 3 trying to run python 2 code - print is expected to have parentheses and work like a function in python 3. I am not an expert on gyp but it seems it wants python 2. Is there any way that you could use a py2 virtualenv or similar while working with backstage?

@michaelsonnleitner were you able to get passed this error? I am running into the same error, using Node.JS 12.16.1 on Windows 10

The exact same with print "%s.%s.%s"?
Would you be able to try with python 2 instead of 3, eg using virtualenv?

i did following:
see https://spin.atomicobject.com/2019/03/27/node-gyp-windows/ (Punkt 2)
npm install --global --production windows-build-tools --vs2015

I also had this problem with Node14, was solved with Node16.


add Blockly blocks to query distance sensor values.

FTC block for reference (XML can be found in ftc blockly implementation):


Fix MDAO test

The MDAO test was getting a beanshell interpreter error because in the
test a call was made to MDAO.addIndex(), but the definition of that
method takes varargs, which aren't supported by the version of beanshell
we're using (I think). According to
https://github.com/beanshell/beanshell/issues/23
though, varargs are now supported in beanshell, so we should update in
order to avoid problems like this in the future.
This commit fixes the problem with a workaround by calling a different
method on MDAO to add the index that doesn't take varargs.

@jlhughes Please review.


changes in css files

added some new features in css
i was facing issue while creating pull request some errors maybe there check code
thanks for giving me task

Code ninja !
On Mon, 21 Oct 2024, 9:23 pm github-actions[bot], @.***>
wrote:

@.**[bot] commented on this pull request.
🎉 Boom! Your pull request just flew into the Enyanjyoti HQ. High fives
all around! Our team of tech wizards will check it out and get back to you
faster than you can say 'code ninja!' Thanks for leveling up the project!
—
Reply to this email directly, view it on GitHub
https://github.com/Shaanif600/abvc/pull/1#pullrequestreview-2382542028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIRSXMGCL2VZVKF4PZKD6HLZ4UPODAVCNFSM6AAAAABQKP3UYSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGOBSGU2DEMBSHA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Could not load helper Mochawesome from module './helper/Mochawesome' error msg

I've received this error trying to run mochawesome reporter (odeceptjs run --reporter mochawesome)
. I'm using VSCode as IDE. I followed reports guide from CodeceptJS site, so my codecept.json looks like this:
{
"output": "./output",
"helpers": {
"Mochawesome": {
"uniqueScreenshotNames": "true"
},
"WebDriverIO": {
"url": "",
"browser": "chrome",
"windowSize": "maximize",
"restart": true,
"smartWait": 15000
}
},
"include": {
"I": "./steps_file.js",
"basePage": "./base/BasePage.js"
},
"mocha": {
"reporterOptions": {
"reportDir": "output"
}
},
"bootstrap": false,
"teardown": null,
"hooks": [],
"tests": "./test/DashBoardTest.js",
"timeout": 10000,
"name": ""
}
Why did I receive that message above? Am I missing some configuration?

@luisgzvs which codeceptjs version do you use?

I'm having the same issue.
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Hi @BorisOsipov my current version is: CodeceptJS v1.0.2

@luisgzvs @leojh
Do you use there packages in global npm or local? Also what OS do you use?

@APshenkin I use them global, and in one PC I have windows 10 and in other one MacOS Sierra, but I see the same message in both OS

I use local references only

Any suggestions?

@luisgzvs @leojh looks like it's Windows issue, so I need some time to investigate this. Yet I can not give any estimates

I'm definitely seeing this both in MacOS and Docker so not just a Windows issue. I'm glad to help troubleshoot this issue, just not sure where to even start.

@leojh Ok, make sense, because I can't reproduce this issue.
First, require is here: https://github.com/Codeception/CodeceptJS/blob/master/lib/helper/Mochawesome.js#L22
So you should have codeceptjs and mochawesome in node_modules
Also there should be addContext.js in mochawesome dir. Could you please check this?

@APshenkin you mean if we don't have codeceptjs in our node_modules folder, we have to create it and add the require you mention above?
Also I do have the ddContext.js file in my mochawesome dir, thanks!

@luisgzvs So in your case the problem is that you try to use codeceptjs, which was installed as global package.
When you want to use custom reports you have to install codeceptjs locally in your dependencies
You should:

Update package.json in your project:

{
  "scripts": {
    "codeceptjs": "codeceptjs run --reporter mochawesome"
  },
  "dependencies": {
    "codeceptjs": "1.0.3",
    "mochawesome": "2.3.1",
    //.... other deps
  }
}

then install deps that was described in package.json
 npm i
Remove global codeceptjs
npm remove -g codeceptjs
Run codeceptjs from local deps via npm script
npm run codeceptjs

I strongly recommend to use local deps. This will guarantied that your dependencies are installed correctly and you will not face deps issues
At that moment, custom reports works only when codeceptjs is installed locally.
This is not explained on the website. We'll think about how to add this.

Thanks, @APshenkin that solved the issue, originally what I was trying to do was to add images to the HTML reports when a Scenario fails, now I can run mochawesome with this command: "codeceptjs run --reporter mochawesome" and there are no errors, but still no screenshots are being attached to the HTML when a Scenario fails, the next step I made was to add
"Mochawesome": {
"uniqueScreenshotNames": "true"
},
to my condecept.json file, but I'm still not seeing screenshots in the HTML output, do you know why is that?
Thanks in advance!

@luisgzvs Hi!
Wheb you use uniqueScreenshotNames option in mochawesome helper, you should use it in webdriverIO helper too. Add it to helper configuration and it will work

Can you give an example, I've tried in different ways, my config file is:
{
"output": "./output",
"helpers": {
"Mochawesome": {
"uniqueScreenshotNames": "true"
},
"WebDriverIO": {
"url": "...",
"browser": "chrome",
"windowSize": "maximize",
"restart": true,
"smartWait": 15000,
"Mochawesome": {
"uniqueScreenshotNames": "true"
}
}
},
"include": {
"I": "./steps_file.js",
"basePage": "./base/BasePage.js"
},
"mocha": {
"reporterOptions": {
"reportDir": "output"
}
},
"bootstrap": false,
"teardown": null,
"hooks": [],
"tests": "./test/DashBoardTest.js",
"timeout": 10000,
"name": ""
}
How's the correct way to do that?

Thank @APshenkin I have try to your advise.
I have run in locally but still no screenshot on fail case in html report.
Thanks in advance

@luisgzvs @guruparanun
output folders for screenshots and html report should be same. So try to modify your configs this way:
{
  "output": "./output",
  "helpers": {
    "Mochawesome": {
      "uniqueScreenshotNames": "true" // uniqueScreenshotNames in Mochawesome helper
    },
    "WebDriverIO": {
      "url": "...",
      "browser": "chrome",
      "windowSize": "maximize",
      "restart": true,
      "smartWait": 15000,
      "uniqueScreenshotNames": "true" // uniqueScreenshotNames in selenium helper
    }
  },
  "include": {
    "I": "./steps_file.js",
    // other pages
  },
  "mocha": {
    "reporterOptions": {
      "reportDir": "./output"
    }
  },
 // other options
}

Thanks a lot, @APshenkin now is working fine screenshots are being attached when a scenario fails, thank you very much!

Thank you very much, @APshenkin now screenshot is show on html report too.
Thank 👍


How to use MapImage() with CustomArgs_t  to pass arguments to an exe

Here is the code that I am trying to run.  Using BlackBone to run "netstat.exe -ano".  Netstat runs but the command line arguments are ignored.   I created a test program that prints out the arvc and argv values: argc=1 and argv[1]=null.   No parameters are being passed to the executable.  How do I pass arguments to the executable?   I have seen your DLL examples but I could not find an executable example.
struct ExeArgs
{
char netstat_args[80];
} exe_args;
strncpy_s(exe_args.netstat_args, _countof(exe_args.netstat_args), "-ano", _TRUNCATE);
CustomArgs_t cargs;
cargs.push_back(&exe_args);
std::wstring AbsExeCmd = L"C:\\Windows\\System32\\netstat.exe";
auto image = thisProc.mmap().MapImage(AbsExeCmd.c_str(), CreateLdrRef | RebaseProcess, callback, nullptr,  &cargs);

`

I discovered that if I put the "-ano" arguments on the command line of the main program that calls MapImage(netstat.exe,...) then netstat.exe will be able to read the command line arguments also.  So the command line arguments are shared between the main program and the injected executable.
Is this the only way to pass arguments to netstat.exe?

Is passing command line parameters to the injected exe supported?  I still can't get this to work.  Has anyone gotten this to work and can you share how?  The only way that I have found to do this is to modify the PEB before the injection.


[MM-19639] If channel is a DM or GM, don't add the channel name to the title of the subscription modal

Summary
When opening the subscription modal from a DM or GM Channel, show a generic Title Jira Subscriptions, because the channel name is not human readable.
Use channel.display, not channel.name, when displaying the channel name for non-DM and non-GM channels.
Ticket
https://mattermost.atlassian.net/browse/MM-19639

@jfrerich I'm not seeing this change. I built the plugin from MM-19639-GM-DM-shows-channel-ID and the subscribe modal still shows the long channel name.

Maybe I'm misunderstanding or this has to be tested in feature/channel-subscriptions branch because it relies on other changes?

@DHaussermann I pulled down the MM-19639-GM-DM-shows-channel-ID branch and built the plugin. The channel name hash is hidden for me. I wonder what's different between our environments :thinking:

@mickmister that's strange. Let me try again just to be sure I deployed the right build.

Thanks @mickmister for testing also. I do see this working. I'm not sure what happened earlier. Seems it's possible  I mistakenly uploaded the worng package 😕 .


Upload File from Disk -> MediaAlly

This fails because it's not an "SplFile" which supports "getRealPath", but the path there IS the real path.
$user->attachMedia(Storage::path($path), $file_name);

I'm trying to support Laraval Livewrire uploads which uploads to a temporary directory locally and then attach to a model and upload to Cloudinary.
This check: https://github.com/cloudinary-devs/cloudinary-laravel/blob/63400a9eab277bb2e0623feb5e1dc3c0bf0965a4/src/MediaAlly.php#L33
Seems incompatible with this: getRealPath call.
https://github.com/cloudinary-devs/cloudinary-laravel/blob/63400a9eab277bb2e0623feb5e1dc3c0bf0965a4/src/MediaAlly.php#L37
file_exists expects a string, while getRealPath expects an object.

Hello @GLStephen I have taken over maintaining this repo and I'm wondering if this is still an issue or have you resolved it or not? I can take a look at making this work if it doesn't already.

Closing. If this problem arrises again, please open a new issue.


using this script

Can't seem to use this script. It's calling invoke commands that don't exist and I can't find online. Your readme file is lacking information on usage.

You just need to run:
Import-Module -Name "./MFASweep.ps1"

Then you can follow as documented 👍


Change access control of JSONModelClassProperty header to internal

Change access target access of JSONModelClassProperty.h file from Public to Project. Without this change installing JSONModel with Carthage will raise error

Umbrella header for module 'JSONModel' does not include header 'JSONModelClassProperty.h'

This change seems quite suspect to me tbh. Public headers should be included in internal builds too, no?

JSONModelClassProperty is an internal class that is only used in JSONModel implementation. I see no reason why JSONModelClassProperty header should be exposed.
If for some reason it should be exposed (which I think it shouldn't) then another solution would be adding JSONModelClassProperty in JSONModelLib.h header

I agree it shouldn't be needed (although we do need to be careful about removing it - backwards compatibility, etc.)
But I don't see why it would fail to build while being public. Why would Carthage complain about that?

I don't think this is problem from Carthage side. Carthage simply creates framework file that can be dragged into project.
I think that's due to how umbrella headers work. Umbrella header is the "master" header that should contain all framework public headers.  Upon inspecting .framework file I can see that JSONModelClassProperty header is present yet not exposed by modulemap file.
I have no idea why my project won't compile, but it's really easy to reproduce the issue: https://github.com/ajanauskas/JSONModelCarthageImport
While this dummy project compiles it throws same warning (which in my case is an error):

Thanks 🙇


Error/Typo in setup script

Overview
Error in .script/setup.sh here. Line one seems to be a non existent bash script, at line 1.
./.setup.sh
...

Even after removing ., this would still be a recursive call to script setup.sh script, which is wrong.
Potential Fix
Either .setup.sh is a deprecated bash script, or one of the other scripts should be the one that needs to be called.

Yes, it should be reset.sh. If you can also raise a PR, test the script and link this issue to it would be great.


[dv/uvm] Fix ecall / irq race condition

If an irq is driven on the same cycle as the end of test ecall
instruction, the irq checks can fail since the ecall will have modified
expected csr values. This fix just abandons the irq sequence if the
ecall has already happened.
Signed-off-by: Tom Roberts<EMAIL_ADDRESS>

@udinator this fixes the issue, but might not be the best way of doing it. Let me know if you have a better way.
I pushed this now as it is failing in CI periodically (as in #1141).

Superseded by #1183


Make it easier to figure out why Armada jobs are stuck in the queue

On our HTCondor farm, it's easy to tell why jobs aren't being scheduled with the condor_q -better-analyze command.
On Armada this isn't observable.
Make this easy to find out. It's a very common oncall question with HTCondor. It's not immediately clear how to design this, we should think carefully first rather than blindly copying HTCondor.
┆Issue is synchronized with this Jira Task by Unito

Closing as no longer needed.


Rewrite CIF saving logic

redo of #53, which is outdated at this point
I put this on hold until confirmed we want to use CIF, see #52
Description

minimize logic, delete unused fields
enforce all tensors are on CPU
delete PdbAtom
fix Het flag for ligans
rename ligand atoms during creation, remove renaming step
fix logic if plddts are not provided
delete PdbExporting

Test plan
Logic was confirmed by diffing before/after CIF outputs on default test example

Comment: some fixes from previous PR (like fixing het flag) were already merged


firebase/angularFire querying with startAt/endAt doesn't work

Version info

Angular: 1.5.8
Firebase: 3.2.1
AngularFire: 2.0.1
Other (e.g. Node, browser, operating system) (if applicable):
Test case
app.controller('UsersCtrl', ["$scope","$rootScope","$location","$firebaseArray","$firebaseObject","$state",function($scope, $rootScope, $location, $firebaseArray, $firebaseObject, $state) {
var path = {};
    path.users ='/users'

var reference = {};
    reference.users = firebase.database().ref(path.users).startAt(0).endAt(10)

$scope.items ={}
$scope.items.users = $firebaseArray(reference.users);

$scope.items.users.$loaded().then(function(object){
    console.log(object);
    console.log(object.length);
});

}]);

Steps to reproduce

Expected behavior

Creates a Query with the specified starting point.
Actual behavior

Please include sample data and a complete, minimal repro. Include version info and steps to repro.

hi here minimal repository
https://github.com/Parkwookyun/angularfireTest.git

Thanks for this. In the future, please create a minimal repro. Your layout.ejs presumably contains everything needed to recreate the issue, so strip any dependencies or complexities not related to the bug and send just that (it's proper due diligence to narrow the scope to the minimal code needed).
In your repro, you aren't waiting for the data to load before calling console.log.  See Handling Asynchronous Operations](https://github.com/firebase/angularfire/blob/master/docs/guide/introduction-to-angularfire.md#handling-asynchronous-operations) in the intro to AngularFire, and async 101 on Stack Overflow.


Unprintable MissingParameter exception

My code is (correctly) hitting https://github.com/pallets/click/blob/master/click/core.py#L1444 and raising a MissingParameter exception. However, there's no message passed there, which means exc.message is defaulted to None by the base class (ClickException) constructor here https://github.com/pallets/click/blob/master/click/exceptions.py#L23.
With other ClickExceptions I've seen (e.g. NoSuchOption https://github.com/pallets/click/blob/master/click/exceptions.py#L165), if message is set to None then it gets reset as something more sensible e.g. "No such option 'foo'". This means that doing str(exc) works nicely. However, MissingParameter doesn't have this, which means any attempt to stringify (e.g. print or log) a MissingParameter actually causes a TypeError: __str__ returned non-string (type NoneType) and then things go badly wrong.
Is it expected that MissingParameter is an unprintable exception when caused e.g. by missing out a required argument? It seems odd that no one else has come across this before. I'm using click in a slightly unusual context in that I'm using the group/command/arg/option parsing stuff outside of a traditional command line script, which might be why no one has seen this if click does it's own special handling for MissingParameter errors.
TL;DR It would be nice if MissingParameter was printable when raised via Parameter.full_process_value (or ideally more generally).
It might be enough to have something along the lines of what NoSuchOption does?

Hello. Any progress on this?

I just wrote a PR on this:
https://github.com/pallets/click/pull/1187

The PR above does not pass the tests.

This is still a problem.  I just hit this myself in click 7.0.0

I'll take a look at this.


How does genomescope exclude the impact form chrX/chrY

Hi.
We get 'Heterozygosity 0.115156%' for NA1287 data.
How does genomescope exclude the impact form chrX/chrY？
property                      min               max
Heterozygosity                0.115156%         0.116636%

Best Regards

I'm sorry.
NA12787 is a women, but a man.


@coq annotations should be objects, not simple values

An annotation is determined by its value, not its syntax. Consequently, the annotations in coq_annot.dart should be instances of some constant class, not just numbers.

The annotations are only used by the coq.dart transformation, which is able to observe the syntax directly, as evidenced in getCoqAnnot.

Any annotation is used by everyone. It'll be included in the binary representation and visible to transformers and mirrors.


Rebuild with EnCodec

The idea here is quite simple:

Take audio chunks composed of 8192 samples
Replace the 128x32 values being produces by the current "encoder" (mel transform) with the 128x28 values which are generated by EnCodec's encoder .
Train the model with L1 reconstruction loss, just as is done currently
At inference time "snap" the predicted embeddings to the codebook at each step of the autoregression

As long as the L1 reconstruction error gets the model close to the right answer, the "snapping" to the discrete codebook will correct the remaining mistakes. The current melspectrogram-based approach lacks any means for this kind of error correction.

In progress...


Keeper Screens Alignment

This change will be applied on screens
The left side alignment of most screens are messed up, moving towards right side of screen. The header needs clear Alignment.
Areej Task: Fix Header and text alignments on all screens in Figma - Update alignments
Dev Task: Implement the changes before release

Padding for all screens have been done and is now consistent through out the screens.
https://www.figma.com/design/m5eMFTKD391AiJAXaEzgxB/Bitcoin-Keeper?node-id=2995-5691&t=I7yJjrPSaqmdouyc-1
S.s - have placed the padding grid in design system page as well


Almost complete scraper deploy, with issues

Add code allowing scraper jobs until they
complete. Tested various size jobs (5, 10, 25,
100, 500); all seem to complete fine.
Issues: rq-dashboard doesn't display the
workers/jobs/anything, but loads! I may need to
save vault password to somewhere other than
~/.osp-pw in case it conflicts with
osp-pipeline (in ansible.cfg).
You'll want to cd to deploy, I forgot to
mention in instructions. Should probably be using
submodules but I just wanted to get this done
ASAP and didn't want any conflicts with newer
versions.
Differences off-the-top-of-my-head from the original:
Use elasticache instead of original redis
setup. Use new tag names to match hosts (API
update?). Add instructions to copy private key to server
plus other config for using that key when cloning private
repo(s).
Please try running this!

You'll want to cd to deploy, I forgot to mention in instructions.

Oh also I should probably be using submodules but I just wanted to get this done ASAP and didn't want any conflicts with newer versions.

Fixed the submodule problem @jodizzle. :)

I will check some differences between the old and new versions I've configured. There were some similarities between osp-deploy old version and the new one I made, but I was working in osp-pipeline's deploy system, and some things got copied from that/using the osp-pipeline version instead of osp-deploy version :thinking:

I think there's a lot of unnecessary code I'll try to purge it.


Add Splight Provider

Description

Adding a new package?
If this pull request adds a new package:

[x] The package's schema URL is correct.
[x] The package metadata file, if present, contains:

[x] a supported category (one of Cloud, Infrastructure, Network, Database, Monitoring, or Utility).
[x] a description that explains what the package does.
[x] a valid logo URL that points to a PNG whose dimensions conform to the others in this repo (e.g., 100x100).
[x] a version number prefixed with v that corresponds with a valid GitHub release.
:warning: I set the version with Goreleaser but could not find it in the generated schema.json

[x] The package repo contains an Overview doc (/docs/_index.md) that includes:

[x] a brief explanation of what the package is and what it does.
[x] at least one representative example in all supported languages.
[x] a front-matter property for the layout set to package.

[x] The package repo contains an Installation and Configuration doc (/docs/installation-configuration.md) that includes:

[x] links to SDKs in all supported languages.
[x] a copyable command for installing the resource plugin if necessary.
[x] an example of configuring the provider with pulumi config set.
[x] an example of configuring the provider with environment variables.

[ ] A CODEOWNER has reviewed the PR.
[ ] A member of the @pulumi/docs team has reviewed all documentation.

I have implemented the changes in this pull request. Could you please review to ensure they are correct?
Link to pull request
Thank you!

Hi @ringods,
The requested changes have been included in the latest release, along with several other fixes.
Best regards

Does anyone know when this provider will be available for use?

@marianogaragiola the provider was already usable. Our Registry only publishes the docs. We don't host the provider itself.


A discrete RangeSlid is not draggable inside a ListView.

A RangeSlider is awesome. But when its discrete version is put inside a ListView, an annoying bug arises. For simplicity, let's say we're using the Left-to-Right directionality.

Let's visually cut the Starting Thumb vertically on 2 halves: if you touch its right half and begin to drag this thumb to the right - it doesn't start to move...
The same happens with the Ending Thumb, if you touch its left half and begin to drag it to the left.

import 'package:flutter/material.dart';

class SimpleTest extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ListView(
        padding: const EdgeInsets.only(top: 100.0),
        children: <Widget>[
          RangeTest(),
        ],
      ),
    );
  }
}

class RangeTest extends StatefulWidget {
  @override
  _RangeTestState createState() => _RangeTestState();
}

class _RangeTestState extends State<RangeTest> {
  var _values = RangeValues(2.0, 8.0);

  @override
  Widget build(BuildContext context) {
    return RangeSlider(
      values: _values,
      onChanged: (rangeValues) => setState(() {
        _values = rangeValues;
      }),
      min: 0.0,
      max: 10.0,
      divisions: 10,
    );
  }
}

Hi @serhii-k
Could you please provide your flutter doctor -v and record a video with this bug?
I tested with stable v1.12.13+hotfix.8 on android emulator and the RangeSlider behavior inside of a ListView was the same as outside

Hi @VladyslavBondarenko
Thank you for your reply!
Here is the flutter doctor -v (I'm testing on Android emulator api 27):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.12.6 16G2136, locale en-UA)
    • Flutter version 1.12.13+hotfix.8 at /Users/Project/development/flutter
    • Framework revision 0b8abb4724 (2 недели назад), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/Project/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/Project/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    ✗ Flutter requires a minimum Xcode version of 11.0.0.
      Download the latest version or update via the Mac App Store.
    ! CocoaPods 1.5.3 out of date (1.6.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade:
        sudo gem install cocoapods

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Community Edition (version 2017.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

! Doctor found issues in 2 categories.

And a recording:

By the way, I've also added onChangeStart and onChangeEnd callbacks. And here's the output (following this video):
1st wrong attempt (left thumb):
I/flutter ( 8011): started RangeValues(2.0, 8.0)
I/flutter ( 8011): ended RangeValues(2.0, 8.0)
2nd wrong attempt (left thumb):
I/flutter ( 8011): started RangeValues(2.0, 8.0)
I/flutter ( 8011): ended RangeValues(2.0, 8.0)
3rd wrong attempt (right thumb):
I/flutter ( 8011): started RangeValues(2.0, 8.0)
I/flutter ( 8011): ended RangeValues(2.0, 8.0)
4th wrong attempt (right thumb):
I/flutter ( 8011): started RangeValues(2.0, 8.0)
I/flutter ( 8011): ended RangeValues(2.0, 8.0)
1st correct attempt (left thumb):
I/flutter ( 8011): started RangeValues(2.0, 8.0)
I/flutter ( 8011): ended RangeValues(2.0, 8.0)
I/flutter ( 8011): started RangeValues(2.0, 8.0)
I/flutter ( 8011): ended RangeValues(3.0, 8.0)
2nd correct attempt (right thumb):
I/flutter ( 8011): started RangeValues(3.0, 8.0)
I/flutter ( 8011): ended RangeValues(3.0, 8.0)
I/flutter ( 8011): started RangeValues(3.0, 8.0)
I/flutter ( 8011): ended RangeValues(3.0, 7.0)
So even for the last two correct attempts, there are unnecessary intermediate callbacks.

@serhii-k
I managed to reproduce it.
The only case when I can't move it is when I click nearby the border of the circle from the center side and move to the center. The same with real device

A temporary workaround.

Copy range_slider.dart completely to your project. Delete wrong imports. Import 'package:flutter/material.dart' instead.
Find this initialization:
_drag = HorizontalDragGestureRecognizer()
Additionally add:
..dragStartBehavior = DragStartBehavior.down
to it.

This is just a temporary solution. When in a scrollable parent there is some issue with gesture recognizers inside the _RenderRangeSlider class.
Notice: this solution triggers some unnecessary intermediate calls to onChangeEnd() and onChangeStart() (_tap.onTapCancel followed by _drag.onStart).

I think I'm having the same issue.

I'm  still having this problem in:
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows

Still having this prob!

Commenting to add visibility to this issue.

Hi @serhii-k, I verified the issue on the latest master 3.7 and it doesn't seem to reproduce. I believe the bug is fixed.
https://user-images.githubusercontent.com/31410839/210473369-f62c4022-aff2-4d59-88b6-b516492ad818.mov

code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: Scaffold(
        appBar: AppBar(title: const Text(_title)),
        body: const RangeTest(),
      ),
    );
  }
}
class RangeTest extends StatefulWidget {
  const RangeTest({super.key});

  @override
  _RangeTestState createState() => _RangeTestState();
}

class _RangeTestState extends State<RangeTest> {
  var _values = const RangeValues(2.0, 8.0);

  @override
  Widget build(BuildContext context) {
    return RangeSlider(
      values: _values,
      onChanged: (rangeValues) => setState(() {
        _values = rangeValues;
      }),
      min: 0.0,
      max: 10.0,
      divisions: 10,
    );
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-13.0.pre.131, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-13.0.pre.131 on channel master at /Users/mahesh/Development/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0196e6050b (2 days ago), 2022-12-31 11:10:23 -0500
    • Engine revision 932591ec04
    • Dart version 3.0.0 (build 3.0.0-76.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks
      and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

cc: @koodimetsa
Closing as this is no longer reproducible, Incase anyone still encounters the issue, then please feel free to write in the comments and we will reopen it.
Thank you.

@koodimetsa were you able to reproduce with the code sample I shared?
Also, does this reproduce on any specific device?

@maheshmnj  Yes, I used that code sample 👍🏼 It seems, that if the touch event starts from "inside" of the range slider, the drag event abruptly ends.
I have reproduced this with iOS simulator(latest version) and iPhone 13 mini running iOS 16.3.
Here is a video with example:
https://user-images.githubusercontent.com/9356589/214603645-578827ca-e348-442b-8b2d-4b0d99c11ee4.mov

Thanks for the update @koodimetsa, I was able to reproduce the issue on stable 3.7 and the master channel.
https://user-images.githubusercontent.com/31410839/214941556-a61ad3d5-821a-4571-a6cf-e10219f98e28.mov

flutter doctor -v
[✓] Flutter (Channel stable, 3.7.0, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (3 days ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65
      darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome
      109.0.5414.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


Cloudflare detection not working

Platform
Which platform does the bug apply to?
WebExtension (Google Chrome)
Describe the bug
I am not seeing the CDN detection working on this site - https://direct.asda.com/george/clothing/10,default,sc.html
Site has cookie __cfduid and it has following headers -
cf-cache-status: DYNAMIC
cf-ray: 6410c7fabbdedc23-LHR
server: cloudflare
Detection logic currently in technologies.json is
"Cloudflare": {
  "cats": [
    31
  ],
  "cookies": {
    "__cfduid": ""
  },
  "description": "Cloudflare is a web-infrastructure and website-security company, providing content-delivery-network services, DDoS mitigation, Internet security, and distributed domain-name-server services.",
  "headers": {
    "Server": "^cloudflare$",
    "cf-cache-status": "",
    "cf-ray": ""
  },
  "icon": "CloudFlare.svg",
  "js": {
    "CloudFlare": ""
  },
  "website": "http://www.cloudflare.com"
},

Cloudflare announced they're deprecating __cfduid next month... but maybe they are turning it off on some bigger sites earlier, or running some tests? That's the only thing I can think of right now.
Either way, as a heads up to whoever can remember, the __cfduid cookie will need to be removed from that list of fingerprints on/around May 10th. 😉

@rockeynebhwani Are you still having this issue? It's picking up Cloudflare for me.

@AliasIO - Still not working for me. I have latest version of chrome extension and this is what I see

@rockeynebhwani Does a hard refresh of the page (Cmd+Shift+R) fix it? It looks like response headers are not received when a page is served from the browser cache (chrome.webRequest.onCompleted doesn't fire).

Yes.. it works if I completely clear cookies and site data..

Right, I don't think we can change that. It will work on your first visit and the result will be cached for some time. After that it won't show until the browser cache expires.


improvement: add turso to resources overview

I quickly took care of adding a short blurb about Turso to the Resources -> Overview page.  :)


Adding a section to feature projects.

We will soon make our projects public, so we need a section to display a list of projects for the community to contribute.
Related to - #5

@AdarshRawat1 Can I Change the services nav bar button to projects ??
Please Assign this to me

@AdarshRawat1 I would like to enhance it. Currently it shows gihub repos in projects section, I would like to make it more better, Could you please assign it to me, if it's open ?

@AdarshRawat1 Can I Change the services nav bar button to projects ?? Please Assign this to me

This is already implemented.

@AdarshRawat1 I would like to enhance it. Currently it shows gihub repos in projects section, I would like to make it more better, Could you please assign it to me, if it's open ?

Go ahead and open a new issue or open a new draft PR, and then we can discuss things there.

@AdarshRawat1  Okay, I will be waiting for it to merge.


Robots.txt missing

A Robots.txt should be added to the page

XML-Sitemap should be added to robots.xml


Updating readme from branch example

Updates
I updated the readme file. Please review and accept.

Thoughts
I probably shouldn't but okay. 👍


Create new NPM release

Now that #192 is merged in, it would be awesome if you could make a new release. 🚀

I'm on vacation right now, but I'll see if I can find a way to publish 😁

@mikfoo i'm not on my usual machine, so I've published this as a canary (I'll make an official release when I'm back next week). the version is 1.9.0-alpha.5ddac749


The input image of clip

Hi, according to your code the original nerf training process, one would randomly choose a batch of rays (say 1024) in the training process and compare this to the ground truth pixel-wise values of the ground truth image sampled by the same set of rays. So the image sent to compute the clip loss is just a batch of random pixels, without any semantic information. Is my understanding correct? And if so, why would it be possible to compare this 'image' to the input prompt?
This is the image sent to the clip loss during your training process.

In the stylization (editing) process, these rays are not randomly sampled without any semantics. Please see the 'get_select_inds' function in run_nerf_clip.py.
And you should set a large value for 'sample_scale' to make sure a clear patch (A small value will lead to sparsity/low-resolution. And a larger one may lead to OOM. It depends on your GPU).

Thank you for your reply. I will try that.


add box shadow on hovering the notes card

Hi! Can you assign this issue to me?

hii Shravani , can you assign this to me? i can also add some animation on hover

hey @ShravaniAK  can u assign this issue to me?


Docker installation: version compatibility issues

I am trying to setup tensorflow in Windows 10 machine inside Docker.
The command I ran is:
docker run -it -p 8888:8888 gcr.io/tensorflow/tensorflow
Error response:
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: client is newer than server (client API version: 1.24, server API version: 1.22).
Surprisingly, I did not get a lot many threads on this issue.

This seems unrelated to TensorFlow and more a question of Docker installation. Can you verify your docker install works with one of their simple examples?

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!


Move JavaScript kernels into VS Code extension

@jonsequitur is this for the client side JS kernel you were talking about, so that all JS cells will be handled by your vscode extensions, instead of eval in .net kernel?
I need to peruse your code base a bit to learn more how you do this now.
Like the idea!

Right now, the code for these kernels is served up over HTTP by .NET Interactive. This task is to move that code into the VS Code extension. For inter-kernel routing, it will still depend on the .NET Interactive kernel, though we might look at a JavaScript-only deployment style later.
JavaScript code is eval'ed in the VS Code host or web view, which are two separate kernels in the .NET Interactive architecture. That's not changing, though we might add more kernels.


Don't allow adding duplicate widgets into a dashboard

https://bugzilla.redhat.com/show_bug.cgi?id=1333795

Closing/reopening since #8684 was merged to fix master

@h-kataria Do you think we should get the spinner to come up faster?  Perhaps we can keep this fix, but addresss that as well?

@mzazrivec @dclarizio i agree, we should look into fixing the code so the spinner does not stop until transaction is complete, maybe change https://github.com/ManageIQ/manageiq/blob/master/app/assets/javascripts/miq_application.js#L1576 in miqWidgetToolbarClick JS function to
miqJqueryRequest("/dashboard/widget_add?widget=" + itemId, {beforeSend: true});

Or we can change miqAjax function to receive an additional parameter to substitute the value for 'complete' attribue

@h-kataria Fixed as suggested.

I'm adding WIP, since I need to change the specs.

@miq-bot remove_label wip

Specs updated.

LGTM, verified fix in UI, ready to merge once Travis is green.


Remove unnecessary text-tokens values from Typography

It is not possible to override the values in Figma when for example text-decoration is set to none. We should remove the values that are not in use.

Solved with #1140


What happened to Stretchly?

Why Collin Shanlei is using his own logo multiplied by 2 as a stretchly logo?

His next project will be his logo multiplied by 3? And then by 4? ) New logo everytime, very insteresting.
When I remember Stretchly it was very very well designed app. Menu was so good, it was so minimalistic and pristine. I was having so much pleasure using it.

And now I have THIS unfinished school project UI thing.

Sorry for the flame, I just don't understand this type of upgrades
P.S.
Can Collin draw a heart or not?

Hi,
I asked designers to help me with redesign of Stretchly because there were a lot of issues that I did not know how to solve them (https://github.com/hovancik/stretchly/issues/421). (I am not a desinger).
He was kind enough to help and did everything for free.
I personally like the new style better, it's much better UX and UI. The same with logo, I tested with with many people and the most of them liked the new one. One could also argue that it is the same as ying-yang, so I do not worry whether it is similar to his own logo.
I am very grateful about everything he had done.


[T3A3][T15-A1] Murray Chen

Ready for Review.
Forgot to change back to master before branching, so some commits stacked. The relevant ones are the last two commits.

@mchen14 Some comments added. Please close the PR after reading comments.

Good job in expanding out the classes for the address.
When a function is modified in a project, relevant documentations & test cases should be updated too.
Maybe it will be good to modify the .equals() method corresponding to how the address is handled now.


[proj] Upgrade to 9.1.0

Upgrade Proj to version 9.1.0

What does your PR fix?

Upgrades proj

Which triplets are supported/not supported?

Same as before

Does your PR follow the maintainer guide?

Yes. Only minimal changes since before

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

Yes.
// CC: @dg0yt

@dg0yt do you know how we can easily fix the proj scripting after the recent changes upstream?


Phylogenetic tree job - tree icon view in upper right (not in green bar) does not work

I get several user complaints about this, as they click on it and it goes nowhere.

This seems to be working now for my trees after the latest fix by @dawenx.
@ARWattam Can you please verify it is working for you?

this duplicates #2197 and the fixed was deployed to alpha a while ago. @hyoo do you know when it was deployed to production? before or after 03/07?

close this ticket as the fix for #2197 is on production. @ARWattam please re-open this if needed and provide an example.


New dashboard example is broken

The top item in the sidebar is hidden for me on Firefox 58 Mac:

Looks like the navbar could use a .pt-5 or something?

@-moz-document url-prefix() {
    .sidebar-sticky {
        padding-top: some amount of px here;
    }
}

Did the trick for me

Also it happens sometimes in Chrome

@mdo Commenting out top fixed the issue for me.
.sidebar {   position: fixed;   /* top: 0; */   bottom: 0;   left: 0;   z-index: 100; /* Behind the navbar */   padding: 0;   box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); }


Update cluster list tests

#1418  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @carolineechen and the rest of your teammates on  Graphite


dispatch not working in process hook

Kinda despairing here:
I have a process hook for one action that works fine dispatching actions from within a promise...
export const registerLogic = createLogic(
  {
    type: actionTypes.REGISTER,
    /* let's prevent empty requests */
    validate: ({ action }, allow, reject) => {
      if ( action.type === 'REGISTER' && action.payload ) {
        allow(action);
      } else {  /* empty request, silently reject */
        reject();
      }
    },
    process: ({ action }, dispatch, done) => {
      API.Axios('POST', '/register', API.generateRegisterQuery(action.payload), null)
      .then ( data => {
        Debug.log('[action:process:remoteAPI:success] of REGISTER', data);
        dispatch(actions.registerSuccess({ data: data, login: { email: action.payload.email, password: action.payload.password }}));
      })
      .catch( error => {
        if ( /.?duplicate.?/.test(error) ) {
          dispatch(actions.registerFail('An account already exists with that email address.'));
          return;
        }
        dispatch(actions.registerFail(error));
      })
      .then ( () => {
        done();
      });
    }
  }
);

but using the same logic slightly differently elsewhere refuses to dispatch from within the promise...
export const orgSearchLogic = createLogic(
  {
    type: actionTypes.ORG_SEARCH,
    validate: ({ action }, allow, reject) => {
      Debug.log('[action:validate] ORGSEARCH', action);
      if ( action.type === 'ORG_SEARCH' && action.payload ) {
        allow(action);
      }
      reject();
    },
    process: ({ getState, action }, dispatch, done ) => {
      const { Login } = getState();
      API.Axios('POST', '/graphql', API.generateOrgSearchQuery(action.payload), Login.jwt)
      .then ( data => {
        Debug.log('[action:process:remoteAPI:success] of ORG_SEARCH', data);
        dispatch({ type: 'ORG_SEARCH_SUCCESS', payload: 'SUCCESS'});
        done();
      })
      .catch( error => {
        dispatch({ type: 'ORG_SEARCH_FAIL', payload: 'FAIL'});
        done();
      })
      .then ( () => {
        done();
      });
    }
  }
);

I've tested the dispatch in the ORG_SEARCH action, and works if it's not inside a promise. If it's inside the promise, it just flat out doesn't work... 😖

Made a mistake in export of reducers elsewhere...

I’m glad you figured it out. Have a great day!
On Fri, Feb 9, 2018 at 3:28 AM Gregory Orton<EMAIL_ADDRESS>wrote:

Made a mistake in export of reducers elsewhere...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jeffbski/redux-logic/issues/92#issuecomment-364381400,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAWOc7xqsHYjQnPqNYrVxAd07GWOFsTks5tTA_HgaJpZM4R_l4V
.

--
Jeff Barczewski
Founder of CodeWinds
http://codewinds.com/
Live and Online developer training


Add revision byte hack

Passing --revision-bytes forcibly adds 00 to the GameCube directory and file names.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 70.652%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
130

Relevant Lines:
184

💛  - Coveralls


python311Packages.aiohomekit: 2.6.15 -> 2.6.16

Diff: https://github.com/Jc2k/aiohomekit/compare/refs/tags/2.6.15...2.6.16
Changelog: https://github.com/Jc2k/aiohomekit/releases/tag/2.6.16
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

5 packages built:

home-assistant-component-tests.homekit_controller
python310Packages.aiohomekit
python310Packages.aiohomekit.dist
python311Packages.aiohomekit
python311Packages.aiohomekit.dist


Videos stuck reloading

Description of issue: Running mpv /path/to/videos-directory mpv loads and plays the videos fine. However, after about 5 minutes, even as soon as 2 minutes or just randomly, a video will load and get stuck loading. I can fast-forward the video and it starts playing again but if I leave it alone for long enough mpv will freeze entirely requiring a forced shutdown.
mpv version: 34.1 using the latest reload.lua
I did a lot of trouble shooting with my config, and checking all my scripts to see which one was causing this issue. I ran mpv --msg-level='reload=debug' --no-msg-color /path/to/videos-directory and got this error
statusline: AV: 00:00:29 / 00:00:29 (98%) A-V: -0.000412 Vb: 980 kbps Ab: 105 kbps
    reload: demuxer_cache.transition continue_stuck {"in_state_time" = 28, "name" = "stuck", "demuxer_cache_time" = 125.621}

This script works great for youtube so I'll use profiles to work around the issue with local videos for the time being.
Please let me know what other info would be helpful in fixing this issue and I will provide it. This is easily reproducible for me but I don't have a lot of experience debugging mpv or scripts so I'm not sure what is and is not relevant.
Thanks.

Interesting, I've never experienced issues with local files. Can you please provide your MPV config and a full debug-level log (--msg-level='reload=debug') from start to the moment when the issue happens. If the issue happens for particular files, it would be helpful if you also provide a link to such file so I could try to reproduce the issue myself.

Can you please provide your MPV config and a full debug-level log (--msg-level='reload=debug') from start to the moment when the issue happens.

Here is a log of the error happening 4 times back to back. I ran it on the directory three times. I ran this with my entire mpv.conf file commented out but if you still think it is relevant I can provide it. I ran the first two tests in chronological order. Tests 3 and 4 I shuffled the playlist. The error happens as soon as the last video in the log loads. The log goes on for a little while because it took me a moment to register that the video had become stuck.

If the issue happens for particular files, it would be helpful if you also provide a link to such file so I could try to reproduce the issue myself.

It doesn't always happen with the same videos. I have a few directories that I play different files from and it happens with all of those directories at various times with various files. But maybe you see something in the log that indicate something different.

Thanks for the log. I see that you're playing a directory with a bunch of short files, and after it loads the read/035.webm,
Playing: read/035.webm
[reload] paused_for_cache.reset_timer 0
 (+) Video --vid=1 (*) (vp8 476x358 20.000fps)
 (+) Audio --aid=1 --alang=eng (*) (vorbis 2ch 44100Hz)
[reload] debug_info {"duration" = "41.853000", "pause" = "no", "stream_end" = "4491259", "event" = {"event" = "file-loaded"}, "paused_for_cache" = "no", "seekable" = "yes", "cache_buffering_state" = "100", "time_pos" = "0.000000"}
VO: [gpu] 476x358 => 477x358 yuv420p
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] paused_for_cache.reset_timer 0
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_fetch {"in_state_time" = 388, "name" = "fetch", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition fetch_to_stale {"in_state_time" = 0, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 2, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 4, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 6, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 8, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 10, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 12, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 14, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 16, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 18, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stale {"in_state_time" = 20, "name" = "stale", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition stale_to_stuck {"in_state_time" = 0, "name" = "stuck", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stuck {"in_state_time" = 2, "name" = "stuck", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps
[reload] demuxer_cache.transition continue_stuck {"in_state_time" = 4, "name" = "stuck", "demuxer_cache_time" = 1.453}
AV: 00:00:29 / 00:00:30 (97%) A-V: 0.000017 Vb: 98 kbps Ab: 67 kbps

Exiting... (Quit)
[reload] Exiting...

the playback gets "paused" on the 29'th second, making the plugin think that the playback got stuck. For me, this situation looks similar to the #10 issue that was reported recently.
When this issue happens, can you resume the playback by pausing and unpausing the video (pressing the spacebar two times)?
Did you notice if this situation when the video gets "paused" after loading happened before (without using the reload plugin)?

When this issue happens, can you resume the playback by pausing and unpausing the video (pressing the spacebar two times)?

No I cannot. I can get it to resume playback by pressing ctrl+r, fast forwarding, or going to the next item on the playlist. If I do any of those things playback will resume but audio cuts out for about 5 seconds. Pressing spacebar twice, or any number of times, does nothing for me.

Did you notice if this situation when the video gets "paused" after loading happened before (without using the reload plugin)?

No I didn't. If I remove reload.lua from my scripts directory everything plays without this issue.

I found an issue with the number rounding #15 that may trigger the behavior that you're experiencing. Please check if it fixes the issue for you.

I found an issue with the number rounding #15 that may trigger the behavior that you're experiencing. Please check if it fixes the issue for you.

Unfortunately not. I ran three tests and got two crashes. The 1st and 3rd stopped playing while the 2nd test played all files in the folder, about 50 videos. Here is the error log. The log only includes the tests where the video froze. I don't have a log of the test that completed successfully. The number of videos was so large that I can't scroll back far enough in my terminal to see the start of the successful test.


Import pip error when installing OpenTImelineIO==0.11.0 with rez pip

I get the following error when trying to install OpenTImelineIO 0.11.0 with rez-pip:
rez pip -i  OpenTimelineIO==0.11.0
08:59:13 INFO     Trying to use pip from python package
08:59:14 INFO     Found pip-20.1.1 inside /app/package/int/python/3.7-sps.1.1/package.py. Will use it with /usr/local/bin/python3
08:59:14 INFO     Installing 'OpenTimelineIO==0.11.0' with pip taken from '/usr/local/bin/python3'
Collecting OpenTimelineIO==0.11.0
  Using cached https://files.pythonhosted.org/packages/51/43/c0340807670aab3ead9c5f90f59597f34f9f936a67120e6e57a2c80ea8c9/OpenTimelineIO-0.11.0.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  Complete output from command /usr/local/bin/python3 /home/alefeve/.local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /data/alefeve/tmp/tmprcg3_g1g:
  Traceback (most recent call last):
    File "/home/alefeve/.local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/home/alefeve/.local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/alefeve/.local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/data/alefeve/tmp/pip-build-env-z7n9s86w/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 147, in get_requires_for_build_wheel
      config_settings, requirements=['wheel'])
    File "/data/alefeve/tmp/pip-build-env-z7n9s86w/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
      self.run_setup()
    File "/data/alefeve/tmp/pip-build-env-z7n9s86w/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 249, in run_setup
      self).run_setup(setup_script=setup_script)
    File "/data/alefeve/tmp/pip-build-env-z7n9s86w/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 142, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 34, in <module>
      import pip
  ModuleNotFoundError: No module named 'pip'

  ----------------------------------------
Command "/usr/local/bin/python3 /home/alefeve/.local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /data/alefeve/tmp/tmprcg3_g1g" failed with error code 1 in /data/alefeve/tmp/pip-install-_tu6rem3/OpenTimelineIO

This was tested with rez 2.59.1 and 2.60.1, with python-2.7 and python-3.7.
The latest version of OpenTimelineIO (0.12.1) can be installed with rez pip without any problem.

These problems should theorically be fixed with newer OTIO releases.


Error running the app

I get this error:
(node:28817) UnhandledPromiseRejectionWarning: Error: Could not start the browser or the browser was already running with the given profile.

OS: Linux 4.14
Chrome: Version 69.0.3497.100 (Official Build) (64-bit)

What do you do? Also, your Chrome browser is behind, stable is at 70 for many weeks already.

ohh :joy:


Support breakpoints inside node_modules

Now only the .git directory is ignored when scanning the local
filesystem.
Fixes #57

@ofrobots PTAL.

Hmm.. The issue with this approach is that two instances of the app deployed at slightly different times (or re-deployed, restarted etc.) might end up with different npm modules getting installed. Since we will take the node_modules into account when computing the unique-id of the application source, these would look like different debug targets, with the user having no idea what's different between them.

This is a concern. If the user intends to set breakpoints inside node_modules then these should be treated as separate debug targets. We could add a config option along the lines of 'optimize for no breakpoints in node_modules' but the issue is that you often don't know where you want to set a breakpoint until things start falling apart and we wouldn't want to strand users in a state where they are unable to set breakpoints where they need to because their deployed node_modules has a different file structure. This is definitely not a good thing in the common case where people aren't setting breakpoints in node_modules though. Do you have any thoughts?

closing for now.

Any chance of reopening this?
I think debugging dependencies is of great value. We ourselves package much of our own code has separate modules to keep things as DRY as possible. Setting up a seperate agent for each module is quite the pain.
Couldn't we use the "includeNodeModules" option to allow the agent to instrument the dependencies? That way its off by default but allows some to use it when appropriate?


Add ros and ros master logs to results

Would be helpful when debugging why things go wrong when / if they do.

Just get <user>/.ros/latest/* and scp it into the results dir.  Should it be added to the results object?

perhaps zip them within the folder so they're a single attribute in the results object.


MAINT: Misc mypy fixes.

It seem like since about a week mypy check have been failing everywhere.
It does not seem to be a new version of mypy, since the lastest is at
least a month old, but this shoudl fix some of the errors.
In particular mypy wants properties setter to be just next to the
getters.

The problem here appears to be that, for some reason, running mypy path/to/folder is no longer restricting mypy to path/to/folder.  For example:
╰─❯ mypy napari/settings/
napari/_vispy/visuals/clipping_planes_mixin.py:26: error: Argument 2 for "super" not an instance of argument 1  [misc]
napari/_vispy/visuals/clipping_planes_mixin.py:28: error: "_PVisual" has no attribute "_clip_filter"  [attr-defined]
napari/_vendor/experimental/cachetools/cachetools/abc.py:16: error: "Type[DefaultMapping]" has no attribute "__missing__"  [attr-defined]
napari/utils/mouse_bindings.py:19: error: Function "builtins.callable" is not valid as a type  [valid-type]
napari/utils/mouse_bindings.py:19: note: Perhaps you meant "typing.Callable" instead of "callable"?
napari/utils/mouse_bindings.py:20: error: Function "builtins.callable" is not valid as a type  [valid-type]
napari/utils/mouse_bindings.py:20: note: Perhaps you meant "typing.Callable" instead of "callable"?
napari/utils/mouse_bindings.py:21: error: Function "builtins.callable" is not valid as a type  [valid-type]
napari/utils/mouse_bindings.py:21: note: Perhaps you meant "typing.Callable" instead of "callable"?
napari/utils/mouse_bindings.py:22: error: Function "builtins.callable" is not valid as a type  [valid-type]
...

we have never been type checking the whole repo.  the make typecheck command runs mypy napari/settings napari/types.py napari/plugins ... so since this PR attempts to fix typing in modules that we've never been checking in the first place, I'd say we should close it and figure out why mypy is no longer restricting itself to the appropriate folders (or turn it off until we can figure it out).
I'll gently close this @Carreau :) ... but feel free to reopen if you disagree


issue with gevent monkeypatching on python > 3.4

from http://www.gevent.org/gevent.monkey.html

patch_select(aggressive=True)
Replace select.select() with gevent.select.select() and select.poll() with gevent.select.poll (where available).
If aggressive is true (the default), also remove other blocking functions from select and (on Python 3.4 and above) selectors:
select.epoll()
select.kqueue()
select.kevent()
select.devpoll() (Python 3.5+)
selectors.EpollSelector
selectors.KqueueSelector
selectors.DevpollSelector (Python 3.5+)

On python 3.6, if i use gevent monkey-patching ("patch_all"), I start to get following errors on pusher.trigger('ssssss', 'client-message', event)

AttributeError: module 'select' has no attribute 'epoll'

really need help on this

Hi there,
I'm having trouble reproducing this, the following file works absolutely fine with python 3.6.1 for me.
from gevent import monkey
monkey.patch_all()

import pusher

pusher_client = pusher.Pusher(
    app_id="XXXXXX",
    key="XXXXXXXXXXXXXXXXXXXX",
    secret="XXXXXXXXXXXXXXXXXXXX",
    ssl=True
)

pusher_client.trigger("world", "hello", { "hello": "world" })

Could you try and run the above snippet, and if you are still encountering the error, could I take a look at your installed libraries? (The output of pip3 list.)
Cheers.

Hi Callum,
Thanks for looking into this !
Most of the time this is run through gunicorn as a web server. I'm not even
sure you can trigger this without this - because gevent+gunicorn will fork
greenlets to run the code.
Regards
Sandeep
On May 2, 2017 18:41, "Callum Oakley"<EMAIL_ADDRESS>wrote:
Hi there,
I'm having trouble reproducing this, the following file works absolutely
fine with python 3.6.1 for me.
from gevent import monkey
monkey.patch_all()
import pusher
pusher_client = pusher.Pusher(
app_id="XXXXXX",
key="XXXXXXXXXXXXXXXXXXXX",
secret="XXXXXXXXXXXXXXXXXXXX",
ssl=True
)
pusher_client.trigger("world", "hello", { "hello": "world" })
Could you try and run the above snippet, and if you are still encountering
the error, could I take a look at your installed libraries? (The output of pip3
list.)
Cheers.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pusher/pusher-http-python/issues/88#issuecomment-298631156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEsU4gPlOLYb0M5IxMnF9LYqfqWoFjrks5r1yuPgaJpZM4NApoz
.

Hi Sandeep,
I see! Apologies, I'm not very familiar with gevent so wasn't really sure what would be required to reproduce. I'll try and take a closer look in to this later today. Thanks for the extra information.
Best,
Callum

hi callum,
thanks for looking into this. Really appreciate this.
wanted to point out some relevant links that may be helpful to you -
https://github.com/shazow/urllib3/pull/1105
https://github.com/shazow/urllib3/pull/1128
https://github.com/kennethreitz/requests/issues/3831
https://github.com/shazow/urllib3/issues/1104 (though is python 2.7)
https://github.com/miguelgrinberg/Flask-SocketIO/issues/413
regards
Sandeep
On Tue, May 2, 2017 at 6:52 PM, Callum Oakley<EMAIL_ADDRESS>wrote:

Hi Sandeep,
I see! Apologies, I'm not very familiar with gevent so wasn't really sure
what would be required to reproduce. I'll try and take a closer look in to
this later today. Thanks for the extra information.
Best,
Callum
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pusher/pusher-http-python/issues/88#issuecomment-298633732,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEsU6ilK2UwA0njANAVwblkeRWInvLYks5r1y4HgaJpZM4NApoz
.

Hi Sandeep,
Thanks for the links. I may however still be missing something fundamental... would it be possible for you to provide us with a complete minimal project that reproduces this issue? At the moment I'm running the following file
from gevent import monkey
monkey.patch_all()

import gevent
from pusher import Pusher

pusher = Pusher(
    app_id="XXXXXX",
    key="XXXXXXXXXXXXXXXXXXXX",
    secret="XXXXXXXXXXXXXXXXXXXX",
    ssl=True
)

def app(environ, start_response):
    pusher.trigger("world", "hello", "data")
    data = b"Hello, World!\n"
    start_response("200 OK", [
        ("Content-Type", "text/plain"),
        ("Content-Length", str(len(data)))
    ])
    return iter([data])

with command gunicorn -k gevent -w 4 main:app, and all is working well.
Best,
Callum

Closing because there has been no example provided that reproduces the issue. Please re-open if you can provide this.


corrected the sum mistake in the mulitply function

Thank you @aaquib19  for your PR!
Since we want to keep the mistakes for other participants to work on, we wouldn't be merging this PR. Hope the practice was good nevertheless :)


Port notes commands

What issue is this solving?
Closes #232
Description
Ports the three notes commands over to v13.
Any helpful knowledge/context for the reviewer?

Is a re-seeding of the database necessary? ❌
Any new dependencies to install? ❌
Any special requirements to test? ❌

(e.g., admin perms, alt account, etc.)

Please make sure you've attempted to meet the following coding standards

[X] Code has been tested and does not produce errors
[X] Code is readable and formatted
[X] There isn't any unnecessary commented-out code

Completely managed to screw up the Git log there.... I think I'll just avoid rebasing from now on....

There we go!


Can not install via brew?

➜  ~ brew install awless
Warning: You are using macOS 11.0.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.

==> Installing awless from wallix/awless
==> Cloning https://github.com/wallix/awless.git
Updating /Users/user1/Library/Caches/Homebrew/awless--git
==> Checking out tag v0.1.11
HEAD is now at d6094ca Bumping version before release
HEAD is now at d6094ca Bumping version before release
Error: An exception occurred within a child process:
  NoMethodError: undefined method `prefer_64_bit?' for OS::Mac:Module

@bradennapier I’d consider this project deprecated. Many of the features do not work anymore, for example, the command awless inspect -i pricer among others depend on a 3rd-party API hosted at http://ec2-price.com that doesn’t exist anymore. Also, the AWS-SDK used to compile version 0.1.11 is old and many of the APIs they are using here are no more.
If you still want to install this program knowing the project is broken, you can use the following Homebrew formula:
class Awless < Formula
  version "v0.1.11"
  desc "The Mighty CLI for AWS"
  homepage "https://github.com/wallix/awless"
  url "https://github.com/wallix/awless/releases/download/v0.1.11/awless-darwin-amd64.tar.gz"
  sha256 "f4bf6e680b712087eab2046a9585da647589d2e924944d1dce6e3b6681b9c126"
  head "https://github.com/wallix/awless.git"

  def install
    bin.install "awless"
  end

  test do
    run_output = shell_output("#{bin}/awless --help 2>&1")
    assert_match "Awless is a powerful command line tool to inspect, sync and manage your infrastructure", run_output
  end
end

Thanks, yeah I realized after posting how long ago the last commit was :)


Regression on Android alert no-custom/custom in 1.0.5-1.0.6 (works on 1.0.3)

Hello,
I update the lib on 1.0.6 and i saw that there was a regression on the Android part :
On NO-full screen notifications of incoming call (alert no-custom/custom) when I press 'accept' the app doesn't launch on my android anymore ... BUT it's work nice on FULL SCREEN alert.
On iOS side, all work nice :)
Also the custom UI is different (no more app name and layout issues)
It would come from your modification here ?
if (Build.MANUFACTURER.equals("Xiaomi", ignoreCase = true)) {                 //Ignore             } else {                 notificationBuilder.setStyle(NotificationCompat.DecoratedCustomViewStyle())             }
I tested on the lib version for the 2 previous remarks :
1.0.3 : OK
1.0.5 : KO
1.0.6 : KO
I have a Xiaomi Redmi Note 5 on Android 9 (MIUI Global 11.0.3).
thanks for the lib & and regular updates.

Yes @hiennguyen92, accept button on version 1.0.1+7 will relaunch the app. I noticed it when my app was in the background.

I just published v1.0.1+8, please check again.

Hello,
i try v1.0.1+8 version and it's ko again on Android :/
When android device receive call (device unlock and home displayed), the notification call appears and i click on Accept button and nothing append if app in not in backgroud.
Same test if app is in background and my app crashed.
If my app is in foreground, when the call notification ring my app instantly crash too ...
=> it works even less than the v1.0.1+7 because app don't relaunch :/
It's the stacktrace when foreground app crash when call received (in silent mode)
D/AndroidRuntime(15937): Shutting down VM E/AndroidRuntime(15937): FATAL EXCEPTION: main E/AndroidRuntime(15937): Process: x.y.android.dev, PID: 15937 E/AndroidRuntime(15937): java.lang.RuntimeException: Unable to start service com.hiennv.flutter_callkit_incoming.CallkitSoundPlayerService@450233d with Intent { cmp=x.y.android.dev/com.hiennv.flutter_callkit_incoming.CallkitSoundPlayerService (has extras) }: java.lang.IllegalArgumentException: at least one timing must be non-zero (timings=[0]) E/AndroidRuntime(15937): 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3722) E/AndroidRuntime(15937): 	at android.app.ActivityThread.access$1700(ActivityThread.java:200) E/AndroidRuntime(15937): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1704) E/AndroidRuntime(15937): 	at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime(15937): 	at android.os.Looper.loop(Looper.java:201) E/AndroidRuntime(15937): 	at android.app.ActivityThread.main(ActivityThread.java:6810) E/AndroidRuntime(15937): 	at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(15937): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) E/AndroidRuntime(15937): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) E/AndroidRuntime(15937): Caused by: java.lang.IllegalArgumentException: at least one timing must be non-zero (timings=[0]) E/AndroidRuntime(15937): 	at android.os.VibrationEffect$Waveform.validate(VibrationEffect.java:533) E/AndroidRuntime(15937): 	at android.os.VibrationEffect.createWaveform(VibrationEffect.java:201) E/AndroidRuntime(15937): 	at android.os.VibrationEffect.createWaveform(VibrationEffect.java:174) E/AndroidRuntime(15937): 	at com.hiennv.flutter_callkit_incoming.CallkitSoundPlayerService.playVibrator(CallkitSoundPlayerService.kt:57) E/AndroidRuntime(15937): 	at com.hiennv.flutter_callkit_incoming.CallkitSoundPlayerService.onStartCommand(CallkitSoundPlayerService.kt:29) E/AndroidRuntime(15937): 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3700) E/AndroidRuntime(15937): 	... 8 more I/Process (15937): Sending signal. PID: 15937 SIG: 9
EDIT :
if i put my android in non-silent mode (ring on). App won't crash BUT no ring alert displayed ... i receive directly 'missed call' notification.
Do you need more info to identify the problem ?
Thanks for your work :)

ok, let me check

you can try new version 1.0.2

Hello,
So in 1.0.2, when the app is in foreground it's ok, the app won't relaunch and accept behavior works ! :)
But i have again the same problem when the app is in background/killed ... the app won't launch if i click on accept button.
new case : It's seem the lock call full screen appears 1 sec and pass directly in missing call ... i don't have the time to click on accept button :/

I checked but can't reproduce it.  you can try with version 1.0.2+1


Snap Programatically

hey!
is it possible to snap to a particular position of the list?
e.g. something like rvLevels.scroolToPostion(postion);

Looks like @TakuSemba doesn't care about this lib anymore :)

is it possible to snap to a particular position of the list?

I have a question about your request.
Does secondRecyclerView.smoothScrollToPosition(position) not work for your case?

I'm closing this due to inactivity.


fix deprecation warnings of factory bot in user factories

Hi there, are there any news to this pull request? ;-)

Hi @stevereinke, thanks for the reminder! It's now merged!

Thanks!


Update README.md

https://github.com/staltz/cycle-onionify/blob/master/src/index.ts#L148

Thanks @bloodyKnuckles
I also see how this will change for v4, it's not anymore "just a small library" :)


mixed names of breakpoints

the current names of the breakpoints are:
https://github.com/timble/illusion/blob/01c0db78a8bdf85fb368093b5d256fc7923a9b48/scss/tools/variables/_breakpoints.scss#L4-L18
This seems like the Greek alphabet, but it fails on Charlie which is part of the NATO alphabet.

https://en.wikipedia.org/wiki/NATO_phonetic_alphabet
https://en.wikipedia.org/wiki/Greek_spelling_alphabet

Choose one, not both.
I suggest to choose for the NATO phonetic alphabet.
Alfa, Bravo, Charlie, Delta, Echo
This needs a refactor of the framework. I'll create a PR.

@robinpoort .idea has been removed from .gitignore


Add the REQUIRED argument to the FIND_PACKAGE(Boost) command

I got an error while compiling your library for the first time. My machine did not have Boost libraries >= 1.59 installed.
The cmake command generated the Makefile, but after that, the compiler complained about missing boost headers.
Adding the REQUIRED argument to the FIND_PACKAGE(Boost) command should fix this issue.

Thank you for sending the PR. It looks good to me.
However, it seems that travis-ci failing. It seems that the error is caused by travis-ci non-output time limitation. So I separate one test compilation unit to two files. Then travis-ci passed.


NPSP: In Summer 20 orgs NPSP Contact Merge form table displays contents with extra white space and misaligned

Summary of the Issue
In orgs that have been upgraded to Summer 20, the NPSP Contact Merge page, specifically the "Picking the winning Contact" tab, displays each row in the table with additional whitespace and the content of some cells also displays misaligned. The issue seems to be confined to the NPSP Contact Merge page. Other NPSP Visualforce pages and components display correctly in Summer 20 orgs. In NPSP 3.180 we have made some cosmetic changes to Contact Merge but these similarly are at least partly affected by the issue (additional white space).
Please see screenshots below for a visual comparison between Summer 20 and Spring 20 orgs:
Summer 20 org with NPSP 3.179 installed

Spring 20 org with NPSP 3.179 installed

Summer 20 with NPSP 3.180 Beta Installed

Cause of the Issue
The issue seems to be the result of differences between the slds.css file of Spring 20 and Summer 20 orgs. Adding the Summer 20 slds.css to a Spring 20 org results in a similar issue in the org, while adding the Spring 20 org slds.css to a Summer 20 org resolves the issue.

W-7820354


Prefer embedded resources over links

Hi there,
the RFC Draft for HAL defines something called Hypertext Cache Pattern:

The "hypertext cache pattern" allows servers to use embedded
resources to dynamically reduce the number of requests a client
makes, improving the efficiency and performance of the application.
Clients MAY be automated for this purpose so that, for any given link
relation, they will read from an embedded resource (if present) in
preference to traversing a link.
To activate this client behaviour for a given link, servers SHOULD
add an embedded resource into the representation with the same
relation.

So, basically it says, that if there is an embedded resource and a linked resource with the same name, the client may try to use the embedded resource. This is the exact opposite of the current behavior of traverson-hal. I think, there should be at least the option to enable this behavior. I understand your reasoning there: you can only be sure to have the whole resource when accessing the link. But it also undermines the idea of HAL's Hypertext Cache Pattern.
Since changing the default behaviour of the plugin would be an unnecessary breaking change, I see two solutions here:

Use the embedded resource and fall back to the linked one if an unknown relation is queried.
I think, this would be the nicer solution, but I don't know how much work this would need.
Add a boolean flag to enable the "embedded first" behavior.
The advantage of this one is, that it's a quick fix and should satisfy anybody who needs "embedded first" (like me ;) )

Let me know what you think.

Yes, sounds reasonable.
I think option 1. opens up a lot of edge cases and makes thinks really complicated. I'd rather not go down that route unless there are very compelling reasons.
I'm sold on 2., so we make it configurable. The only thing I'm not sure about is the default value.
I do not really think that the problem of breaking change is a strong argument here, we just up the major version digit and that's fine. I would rather align the default value with the spec. Only problem here is, the spec is relatively vague in this aspect. A client MAY be automated for this purpose, hmmm.
So what do you think, should "link first" or "embedded first" be the default for this new config option?

Since making "embedded first" default might yield unexpected results in some cases, like follow() not working even if the relation is there, i think it would be best to leave "link first" the default option.

Okay, sounds plausible.

This has landed in 1.2.0


Better raking

Strip more whitespace if possible, etc.

fixed in https://github.com/Gargaj/contentifier/commit/b44fc57043486f2cd7cbbdbd55e427f16802a1f0


[Q] How to share chart setup between sweeps

Hi, I've run a sweep, and created a few charts, changed the gradient for the default chart, and pinned a few columns to the left on the sweeps page of the web app. Now, I see that my range for one variable wasn't quite right so I run another sweep. But when I view that sweep, I'm back to the default screen (no pinned columns, scatter charts from the previous sweep not there).
In the last few days I've run 30+ sweeps with various tweaks and each time I'm having to re-add and re-configure charts and re-pin columns. Am I doing something dumb? Is there a better workflow?

Hi @davidgilbertson, thanks for writing in! So you'd like to be able to transfer the layout across different sweeps in the same project right? This isn't possible now so I can create a feature request and share internally, feel free to share any other details about your use case here!

I assume that sharing of charts between all sweeps would be very difficult. But at the very least, I think if a sweep runs, some charts are created, then another sweep runs with the same metrics in the config, then you could allow the user the copy across the UI config from the prior sweep. In short, if the next config is compatible with the previous charts, reuse the previous charts.
A real life example, I just started a sweep with, among other things, learning rate. I put the max at 1. But after a few runs I saw that the best results were really close to  lr=1.

So rather than let this run for another hour or so, I decide that I should kill it, increase the max LR to 10, and start again. And of course that means re-creating the charts yet another time.

Hi @davidgilbertson, thanks a lot for sharing this feedback! I'll create the feature request and share it with our Product Team.

This feature would be very welcome. Especially when running multiple sweeps in the same project with slight variations to the hyperparameters... The view option allows us to save a view of a single workspace. Why not make transfer of the view between sweeps in the same project possible?

Hey @markschoene, thanks for your feedback! I'll add you to the FR and share this internally

+1 I'd like to see this feature implemented as well. Not only for 'sweep runs with the same metrics in the config' as @davidgilbertson suggested, but for all sweeps.
I have run hundreds of sweeps this past week and it would have saved me a lot of time to not have to switch every panel to display f1 instead of loss, hide panels I don't want, add new panels I do want, etc...

Thanks for adding this extra feedback @umarbutler! I'll ensure to raise it with the team


Chrome Canary | Debugging smoothness via chrome devtools

Expected Behavior
While debugging on the chrome devtools, setting up breakpoints there should not be much slowness when stepping through code or resuming code execution.
This issue is not present in the stable Chrome version.
TODO: investigate in Safari, Edge, Yandex etc.

I'm assuming we can tweak webpack source map settings to fix this, otherwise it might just be a bug for Canary to resolve that's causing this.

Actual Behavior
The browser seems stuck when a breakpoint is hit, there is a lot of lag and sometimes only closing the background inspector seems to resume script execution. This presents a poor experience for debugging during development.
Steps to Reproduce the Problem

Run the code locally
Load the unpacked extension
Open the background inspector in chrome
Set a breakpoint on line 123 of background.js (see attached)
Click the extension badge to trigger save so the breakpoint is hit

Specifications

Version<EMAIL_ADDRESS>(via package.json)
Browser: Chrome Canary Version 69.0.3475.0
Operating System: macOS 10.13.5

We are going to remove the external build dependency with the restructure in #55, so it should be easier to tweak the web pack build and improve the experience.

This ticket is old and no longer applies to the current build system.


Overwriting global variable "Ladda" ?

Note this line where you assign root.Ladda to factory(root.Ladda). But the factory doesn't return the Ladda object, so you're overriding the Ladda global.
Instead, your factory should return the name of the module (like the angular core modules do). For more info, see this post.

Thank you for guide! I fix this issue. Please try latest version!

I think that fixed it. Thanks!


castlemock cannot auto import projects from swagger yaml files defined in dockerfile

castlemock cannot auto import projects from swagger yaml files
castlemock cannot auto import projects from swagger yaml files defined in dockerfile.
To Reproduce
Given this dockerfile:
FROM castlemock/castlemock:v1.65

COPY ./sources/swagger/* /opt/castlemock/mocks/

ENV PATH=$PATH:/opt/castlemock/bin

CMD ["castlemock", "start", "-autoimport"]

and this docker-compose file:
version: '3.8'

services:
  mock:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: ewl
    ports:
      - 1080:8080

I'm facing this error:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "castlemock": executable file not found in $PATH: unknown

when I run docker-compose up --build -d
So that mean that the executable file doesn't exists in /opt/castlemock/bin folder, where I can find it please ?and -autoimport option is correct to auto import projects from swagger yaml files defined in my Dockerfile as described above ?
Thanks for your help.
Desktop (please complete the following information):

OS: Windows 11

Hi @medaoutir
Castle Mock does not have support for autoimport like this. Where did you get this information? There is no autoimport flag. I don't recognize the paths specify in the Dockerfile either.
Thank you and have a nice day!