Generating files causing error. Magento 2.3.3

php pestle.phar generate_module Pulsestorm JavascriptCssExample 0.1.0
Comes up with the following error:
PHP Fatal error:  Uncaught Error: Class 'Pulsestorm\Pestle\Config\Exception' not found in phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php:52
Stack trace:
#0 phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php(66): Pulsestorm\Pestle\Config\getOrSetConfigBase()
#1 phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php(34): Pulsestorm\Pestle\Config\getPathConfig('package-folders')
#2 [internal function]: Pulsestorm\Pestle\Config\loadConfigFile('package-folders')
#3 phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php(18): call_user_func('Pulsestorm\Pest...', 'package-folders')
#4 [internal function]: Pulsestorm\Pestle\Config\loadConfig('package-folders')
#5 C:\tmp\pestle_cache\2d27f575ea4837c003f8467c72c32131\reflection-strategy\813ea2af6b985b27c8cb26ffbcf461c5.php(7): ReflectionFunction->invokeArgs(Array)
#6 phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modul in phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php on line 52
Fatal error: Uncaught Error: Class 'Pulsestorm\Pestle\Config\Exception' not found in phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php:52
Stack trace:
#0 phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php(66): Pulsestorm\Pestle\Config\getOrSetConfigBase()
#1 phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php(34): Pulsestorm\Pestle\Config\getPathConfig('package-folders')
#2 [internal function]: Pulsestorm\Pestle\Config\loadConfigFile('package-folders')
#3 phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php(18): call_user_func('Pulsestorm\Pest...', 'package-folders')
#4 [internal function]: Pulsestorm\Pestle\Config\loadConfig('package-folders')
#5 C:\tmp\pestle_cache\2d27f575ea4837c003f8467c72c32131\reflection-strategy\813ea2af6b985b27c8cb26ffbcf461c5.php(7): ReflectionFunction->invokeArgs(Array)
#6 phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modul in phar://C:/xampp/htdocs/ecommerce_test/pestle.phar/modules/pulsestorm/pestle/config/module.php on line 52
Any idea what's causing this?

Thanks for giving Pestle a try @mumar786 -- sorry to hear you ran into some trouble. If you don't mind, I have a two standard-ish questions I'd like to ask that will help us get to the bottom of what's happening

Have you ever successfully run a pestle command, or is this your first time giving it a try?

It looks like you're running this on a Windows machine -- do you know how you're running PHP on Windows?  I'm asking this because there's multiple ways of running PHP on Windows (Native Windows Binaries, via the Linux/Ubuntu subsystem, Cygwin, etc)

If you can answer the above, we might be able to reproduce your problem and then figure out what's going on.
Also, for what it's worth, pestle is generally developed on linux/unix -- native PHP on windows isn't something we spend a lot of time on (mainly because I don't use windows for web development and no one else has stepped up to take that on).  That fastest way to get pestle working would be to start working in a linux/unix environment.
That said -- we'd still love some answers to the above to see if there's a quickfix we could adopt.

Yes, this is my first time trying a pestle command. (Tried the generate_full_module command as well but it came up with the exact same errors).
I'm pretty new at programming, not sure how to check how PHP is being run, but I'm using a standard windows 10 home installation and using a local server XAMPP (for Windows 10) which has PHP 7.3 Installed.

Out of curiosity, do Linux/Windows files have different structures? Or is it the command line that's different?

Thanks for that information -- "XAMPP" is exactly what I was looking for when I asked you how you were running PHP.  This week I'll try to reproduce the problem XAMPP installed PHP, and then determine if it's something I can fix easily/without-to-much-investment.

Out of curiosity, do Linux/Windows files have different structures? Or is it the command line that's different?

Since you're pretty new to programming I'm not sure what level to answer this question at, but no, linux files and windows files have 99.9% the same structure.  The .1% is the characters used to end a line -- but most modern text editors take care of this for you.
The problem is, as you suspected, the command line.  The windows command line (or windows shell) uses a syntax that's very different from the unix command line (or unix shell, or bash shell ) -- the syntax you use to access files and paths is different. PHP does some work to normalize this but it's far from perfect, and that's where I expect the problem is.

Ah amazing, that makes a lot more sense now. Thanks!

Hello,
Did you ever take a look at this issue? I am using Windows 10 and have tried using the Windows default cmd utility and also have tried Cygwin with no success.
Fatal error: Uncaught Error: Class 'Pulsestorm\Pestle\Config\Exception' not foun
d in phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/modu
le.php:52
Stack trace:
#0 phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/module
.php(66): Pulsestorm\Pestle\Config\getOrSetConfigBase()
#1 phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/module
.php(34): Pulsestorm\Pestle\Config\getPathConfig('package-folders')
#2 [internal function]: Pulsestorm\Pestle\Config\loadConfigFile('package-folders
')
#3 phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/module
.php(18): call_user_func('Pulsestorm\Pest...', 'package-folders')
#4 [internal function]: Pulsestorm\Pestle\Config\loadConfig('package-folders')
#5 C:\tmp\pestle_cache\2d27f575ea4837c003f8467c72c32131\reflection-strategy\813e
a2af6b985b27c8cb26ffbcf461c5.php(7): ReflectionFunction->invokeArgs(Array)
#6 phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/magento2/cli/library
/module.php(91): loadConfi in phar://C:/wamp64/www/mage/pestle.phar/modules/puls
estorm/pestle/config/module.php on line 52

@andyrz Thank your for writing.  Unfortunately, I have not had a chance to look too deeply into this.  I'm unsurprising that this doesn't work from a windows console.  I'm a little surprised it doesn't work with Cygwin.  My memory of Cygwin is it's a linux shell with linux filepaths and everything should work.
We're also being hit with a double whammy with this one, as it looks like the module in question has a bug where it's trying to throw a local Exception instead of the global \Exception.
@andyrz Is this something that just started happening?  Or did you download pestle for the first time and it happened?  Also -- there's a /tmp/pestle_cache folder that can sometimes get stale when you run the same phar from different enviornments -- can you try deleting it and seeing if that helps?

@astorm  Thank you for responding. I greatly appreciate you spending the time here.
This is the first time I've attempted to use Pestle and it never worked on this particular machine(Windows 10). I cleared the cache under C:\tmp\pestle_cache but still received the same error. I found a work around that allowed me to move forward. I installed the Ubuntu Linux subsystem which gives Bash access to the Windows file system. I learned that Bash doesn't access the Windows env variables so I installed PHP 7.2 and the required XML extension(apt-get install php7.2-xml) in order to run Pestle. This is a valid work around for me and I look forward to using Pestle.

@andyrz Could you let us know the exact invocations you were using when you ran into the above error?  I got an old windows laptop setup and was able to make pestle run
C:\Users\alanstorm\github\astorm\pestle>c:\MAMP\bin\php\php7.1.20\php pestle.phar list

Knowing the exact command you were trying to run and how you invoked it would help us get to the bottom of this.

@astorm I am able to run the following without issue:
PS C:\wamp64\www\mage> php pestle.phar list
PS C:\wamp64\www\mage> php pestle.phar magento2:base-dir
C:\wamp64\www\mage
but cannot create a module:
PS C:\wamp64\www\mage> php pestle.phar generate_module
Vendor Namespace? (Pulsestorm)] Azaluski
Module Name? (Testbed)] Testbed
Version? (0.0.1)] 0.0.1
Fatal error: Uncaught Error: Class 'Pulsestorm\Pestle\Config\Exception' not found in phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/module.php:52
Stack trace:
#0 phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/module.php(66): Pulsestorm\Pestle\Config\getOrSetConfigBase()
#1 phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/module.php(34): Pulsestorm\Pestle\Config\getPathConfig('package-folders')
#2 [internal function]: Pulsestorm\Pestle\Config\loadConfigFile('package-folders')
#3 phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/module.php(18): call_user_func('Pulsestorm\Pest...', 'package-folders')
#4 [internal function]: Pulsestorm\Pestle\Config\loadConfig('package-folders')
#5 C:\tmp\pestle_cache\2d27f575ea4837c003f8467c72c32131\reflection-strategy\813ea2af6b985b27c8cb26ffbcf461c5.php(7): ReflectionFunction->invokeArgs(Array)
#6 phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/magento2/cli/library/module.php(91): loadConfi in phar://C:/wamp64/www/mage/pestle.phar/modules/pulsestorm/pestle/config/module.php on line 52
Here is my php info:
PS C:\wamp64\www\mage> php -i
phpinfo()
PHP Version => 7.2.18
System => Windows NT NOPE-NOT-TODAY 10.0 build 18362 (Windows 10) AMD64
Build Date => Apr 30 2019 23:25:56
Compiler => MSVC15 (Visual C++ 2017)
Architecture => x64
Configure Command => cscript /nologo configure.js  "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--without-analyzer" "--with-pgo"
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => C:\WINDOWS
Loaded Configuration File => C:\wamp64\bin\php\php7.2.18\php.ini
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20170718
PHP Extension => 20170718
Zend Extension => 320170718
Zend Extension Build => API320170718,TS,VC15
PHP Extension Build => API20170718,TS,VC15
Debug Build => no
Thread Safety => enabled
Zend Signal Handling => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
IPv6 Support => enabled
DTrace Support => disabled
Registered PHP Streams => php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, https, ftps, phar
Registered Stream Socket Transports => tcp, udp, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2
Registered Stream Filters => convert.iconv., string.rot13, string.toupper, string.tolower, string.strip_tags, convert., consumed, dechunk, zlib., bzip2.
This program makes use of the Zend Scripting Language Engine:
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

Thanks you @andyrz, that's let us get to the bottom of this.  It looks like the problem is right here
https://github.com/astorm/pestle/blob/master/modules/pulsestorm/pestle/config/module.php#L50
In order to determine your home directory, pestle uses the echo ~ command.  This works in most operating system, but it doesn't work in native Windows.  We'll need to replace that with some conditional code that does something like
echo %HOMEPATH%

if you're in a windows environment.  Thanks for bringing this to our attention and for providing the reproduction steps -- without that we wouldn't have been able to identify the root problem.
We are unsure when we'll be able to get a release going for this, but if anyone wanted to submit a PR to fix things it would definitely help move things along.

PR merged, should go out in the next release: https://github.com/astorm/pestle/pull/512


eliminate locking bugs

there are a few locking problems in the consensus set that were causing database inconsistencies. They should be fixed now.

oh I didn't realize this PR was open.
I want a chance to review the diff and make sure it's all sane.


SnapToGrid with transform (x or y) causes negative starting points

Trying to center line endings in the grid cells using the code below. Works everywhere except at the very  top and at the far left. where the starting point is set to -64 (x resp y) instead of 0.
var drawing = SVG('svgDrawLayer');
var rect = drawing.polyline().attr('stroke-width',1).transform({x:32, y:32});
drawing.on('mousedown', function(e){
            rect.draw(e, {snapToGrid:64});
        }, false);
drawing.on('mouseup', function(e){
            rect.draw('stop', e);
        }, false);

@gurraw if this is still an issue after all those years, let me know. I will close for now.


Refactor backend

As described in the blogpost, the AddressOwnership part and the Round part should be two separate (and asynchronous) steps.
https://github.com/summa-dev/summa-solvency/blob/90c4242840b04122e699d07c009f4e233a223663/backend/src/apis/snapshot.rs#L25-L29
In particular, proof_of_address_ownership should be independent from a Snapshot.
EDIT: As I was reviewing #141 I noticed that Snapshot and SummaSigner are completely independent and do not talk to each other. Snapshot APIs was originally planned to be the entry point for a user of the backend, but actually, they cannot do much with that as they cannot interact with the contract!
Following the description and the naming in the blogpost, I think we should have two high-level classes: AddressOwnership and Round.
AddressOwnership should be used to submit proof of solvency to the Smart Contract
Round should be used to:

Build a Snapshot (which is only composed by a Merkle Sum Tree and Assets)
Submit proof of solvency to the Smart Contract
Generate proof of inclusion to the user.

The goal should be to allow the user (exchange) of our library to fully complete the flow described in the blogpost

EDIT: As I was reviewing https://github.com/summa-dev/summa-solvency/pull/141 I noticed that Snapshot and SummaSigner are completely independent and do not talk to each other. Snapshot APIs was originally planned to be the entry point for a user of the backend, but actually, they cannot do much with that as they cannot interact with the contract!

Yes, you are correct. The Snapshot API that follows the original plan largely mirrors the CLI app from the PoC - summa-playground.
Most of the functions in the CLI app can be used for the Snapshot API. Therefore, we can reshape those functions for the Snapshot API while renaming the current Snapshot to SnapshotData.

Following the description and the naming in the blogpost, I think we should have two high-level classes: AddressOwnership and Round.

Separating AddressOwnership makes sense to me, especially the optimistic approach that eliminates the need for verifying solvency based on addresses in the contract.
The term Round reminds me of its usage in the early design - Design Core components for API - Round.
However, I believe you're referring to something different: a single Snapshot instance existing within the Round like one below:
struct Round {
	snapshot: Snapshot,
	signer: SummaSigner,
}

struct Snapshot {
	mst: MerkleSumTree,
    trusted_setup: [SetupArtifcats; 2],
}

generic consts are ignored in above.


DSiWare Downgrade - deficient dgtool release

boot.nds of releases v1.1 and v1.2 is identical.
You also committed build files.

Fixed


Adding hook scritps to start, stop and force-stop. The scripts are ex…

…ecuted, if they exists: hooks/post-start.sh - hooks/post-stop.sh
how did I get the idea? I asked ChatGPT if there is a way to have scripts automatically executed after a stop or start in MSCS, and it halucinated... as it didnt exist (yet), i added it :)

Interesting idea.  Would it make sense to also add in pre-start and pre-stop hooks as well?

fair enought - then a wider range of usage is covered. added also the prescript hooks and tested it locally.
btw, i use the script to start a python script doing some analysis of the logs...


fix: 2d betabinom working

Get 2d betabinomial sampling working for image files

Looks good to me, and I confirmed that it works and gives sensible results on a couple of input images.
I left a couple of comments, but nothing that would block merging.
I did also notice, while testing, that if I set dist_args in the toml file to something that contains one int and one float, I get an error (I would have expected the int to be coerced to a float and not cause issues). But the error seems to have nothing to do with the dist_args, so I'm not 100% sure what the underlying cause is 😬 Can you reproduce this, or is this just me?
(.venv) k2474365@KCLH3912MDY44 ReX % rex rex-repo/imgs/dog.jpg --model models/resnet50-v1-7.onnx -c rex-betabinom.toml
Traceback (most recent call last):
  File "/Users/k2474365/Documents/Projects/Chockler/ReX/.venv/bin/rex", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/k2474365/Documents/Projects/Chockler/ReX/rex-repo/rex_xai/rex.py", line 19, in main
    _ = explanation(args, device)
        ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/k2474365/Documents/Projects/Chockler/ReX/rex-repo/rex_xai/explanation.py", line 230, in explanation
    ps = get_prediction_function(args.model, args.gpu)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/k2474365/Documents/Projects/Chockler/ReX/rex-repo/rex_xai/onnx.py", line 128, in get_prediction_function
    _, ext = os.path.splitext(os.path.basename(model_path))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen posixpath>", line 171, in basename
TypeError: expected str, bytes or os.PathLike object, not NoneType

Yes, I can reproduce this, and it's absolutely bizarre! I'll have a look at this


Guest users should be tied to a session

The initial idea of anonymous pledges was to have them act like guest shopping cart items–they'd be attached to the session and, if the user creates an account, they'd attach to the account. Here's a possible approach: Railscast #393: Guest User Record.
That got delayed in the interest of shipping asap, but it's still a good plan.

Hey are you still looking for someone to do this?

@alexshook We are! Are you interested?

@leesharma  yes, definitely! How do I claim it?

You just did. 🙂

@alexshook Hey, how's the issue coming? Any questions/comments/blockers I can help with?

@leesharma I started it a bit but haven't been able to devote much time-- busy work week. Should have a pull request for you on Sunday!

@leesharma hey I have a question-- I see that there's a log in but no sign up option, did you want a button for sign up as well as the one to continue as a guest?

@leesharma additionally, will we always create users by the amazon auth hash, or will straight email sign ups also be available?


assignment1.sql

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

it was due to some error on my part that picture was added despite I created a pull req for both sql file and pdf. I finally manage to to create a separate pull req for the sql code file


How to force watchpack to watch all changes in a subtree?

I have spent a good hour trying to figure out why webpack --watch is not picking up changes in certain files.
I have ended up looking at /lib/node/NodeWatchFileSystem.js:
// [..]
NodeWatchFileSystem.prototype.watch = function watch(files, dirs, missing, startTime, options, callback, callbackUndelayed) {
    console.log(files, dirs);
// [..]

It showed me that the files that are not being picked up are not in the list of the files that are being watched.
Regardless of the reason why these files are not picked up (I am assuming some sort of dependency resolution logic is not able to detect a dependency or a link is not created at all). How do I configure watchpack from webpack.config.js to watch all files under a certain path?

Propably a loader is not adding the files as dependencies. Which files are not watched? Which loader should load them?

There are several loaders that are supposed to load it (based on the extension):
{
    test: /\.js$/,
    exclude: [
        /node_modules/
    ],
    loader: 'babel',
    query: {
        stage: 0
    }
},
{
    test: /\.js$/,
    exclude: [
        /node_modules/
    ],
    loader: 'eslint'
}

It loads a whole bunch of `.js files, but it does not load certain files.
curiosity:actions gajus$ ls -lah
total 16
drwxr-xr-x  4 gajus  staff   136B 21 Jul 19:14 .
drwxr-xr-x  9 gajus  staff   306B 21 Jul 20:22 ..
-rw-r--r--  1 gajus  staff   358B 21 Jul 19:20 TaskTypeActions.js  [not loaded]
-rw-r--r--  1 gajus  staff   464B 21 Jul 19:20 TodoActions.js          [loaded]

No obvious reason.


Add try_finish

See the individual commit messages for the full details.
Closes #22.

Looks good!


Hotfix/amendments-from-testing

Changed some routes, testing through CPP to ensure all pages show

Looks good.
Have you been over the tests to make sure that everything is tested?

Excellent thank you for looking! I haven't, I will go over the tests now and apply them to this branch and re-submit for approval when they are ready

Merge this then do any test tweaks on a new branch,


SA1201 analyzer throws exception

Hello, I have been running into an exception from style cop. The message is below and a minimized example of the bug is here: https://github.com/Siphonophora/StyleCop-AD0001-exception/blob/main/StyleCopIssue/UnitTest1.cs#L11-L14
Its the nested record above that seems to be the source of the issue. though the other method in the class needs to be there too.
CSC : warning AD0001: Analyzer 'StyleCop.Analyzers.OrderingRules.SA1201ElementsMustAppearInTheCorrect
Order' threw an exception of type 'System.Collections.Generic.KeyNotFoundException' with message 'The
 given key 'RecordDeclaration' was not present in the dictionary.'. [\StyleCop-AD0001-exception\StyleCopIssue\StyleCopIssue.csproj]

I see that you are using version 1.1.118, which is rather old. This seems to be fixed in PR #3264, which is included in 1.2.0-beta304 and later versions.

@bjornhellander Thanks, This does work on the beta. Is 1.2.0 coming out of beta at some point? Its been a while

@Siphonophora there are no plans to drop the prerelease suffix in the immediate future. NuGet doesn't require development dependencies to have stable version numbers, and the C# language is progressing faster than the stabilization process for this repository. We don't have the incentive or resources necessary to alter the current approach.


Transition OpenAIChat to using tools

tool_calls allow many calls, vs function_call will be 1 call maximum.
This change implements calling multiple functions while keeping the semantics intact.
https://cookbook.openai.com/examples/how_to_call_functions_with_chat_models

Ready for review.
I think this change looks bigger than it is. It transitions from the functions API to the tools API, which is more flexible. My primary goal was to enable multiple function calls, and then one thing went to another.. ;)

Looks good. Thanks a lot this was on my todo list ;) !


feat: Trivial Star makes ConjTranspose_eq_transpose

Under the trivial star, $A^H = A^T$

bors merge


Bug: Stream Health dashboard reports much lower kpbs than OBS

@dob  mentioned this in Discord and I was able to reproduce.
For whatever reason, my stream looked like this on our Stream Health dashboard:

But OBS was reporting that the kpbs was much higher.

Is this information getting displayed incorrectly? Is there a big slow down when we ingest?

@pglowacky This should have been fixed yesterday! Are you still observing the issue?
It had been fixed on https://github.com/livepeer/livepeer-com/pull/635 already but wasn't deployed explicitly. So it onlyt got deployed yesterday with Adam's deploy of a fix to the dashboard player.


Hacktoberfest: Update README

The README.md instructions are outdated and should show how to create an application in FusionAuth.
The links should start with one of the below links and concept
Getting Started: https://fusionauth.io/docs/v1/tech/getting-started/
or include this for apps
https://fusionauth.io/docs/v1/tech/core-concepts/applications

assign me

Thank you for participating @Madhvik007, assigned to you 👻.


Error while working with apps having multiple versions of vue .

What version of Turborepo are you using?
latest
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Linux
Describe the Bug
i am having a monorepo for my eccomerce projects .
it is structured as
apps
---frontend
------admin
--------package.json
------store-front
--------package.json
the admin uses the version 3 of vuejs
while the storefront uses vue2
when running yarn install . the there is vue3 in the root nodemodules and vue2 in the nodemodules of the storefront . but when i run the app . store front is using vue from root modules . rather than its own ( i checked and vue version 2 is present  in store fronts nodemodules )  . which gives me error .
package.json for storefront
  "name": "store-front",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "vue-cli-service serve --host <IP_ADDRESS> ",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "apollo-cache-inmemory": "^1.6.6",
    "apollo-client": "^2.6.10",
    "apollo-link": "^1.2.14",
    "apollo-link-error": "^1.1.13",
    "apollo-link-http": "^1.5.17",
    "core-js": "^3.6.5",
    "graphql": "^15.4.0",
    "graphql-tag": "^2.11.0",
    "promise": "^8.1.0",
    "vue": "^2.6.12",
    "vue-apollo": "^3.0.5",
    "vue-router": "^3.4.9",
    "vuetify": "^2.2.11",
    "vuex": "^3.5.1"
  },

//snip

package.json for admin
{
  "name": "admin",
  "version": "0.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview",
    "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src"
  },
  "dependencies": {
    "@apollo/client": "^3.5.8",
    "@fortawesome/fontawesome-svg-core": "^1.2.36",
    "@fortawesome/free-solid-svg-icons": "^5.15.4",
    "@fortawesome/vue-fontawesome": "^3.0.0-5",
    "@headlessui/vue": "^1.4.3",
    "@tinymce/tinymce-vue": "^4",
    "@vue/apollo-composable": "^4.0.0-alpha.16",
    "@vuelidate/core": "^2.0.0-alpha.34",
    "@vuelidate/validators": "^2.0.0-alpha.26",
    "chart.js": "^3.0.0",
    "cloudinary-vue": "^1.2.3",
    "graphql": "^16.3.0",
    "graphql-client": "*",
    "graphql-tag": "^2.12.6",
    "router": "^2.0.0-beta.1",
    "utils": "*",
    "vue": "~3.2.25",
    "vue-chart-3": "^3.0.9",
    "vue-router": "4",
    "vuex": "4"
  },
  "devDependencies": {
    "@tailwindcss/forms": "^0.4.0",
    "@vitejs/plugin-vue": "^2.0.0",
    "@vue/eslint-config-airbnb": "^5.0.2",
    "autoprefixer": "^10.4.2",
    "config": "*",
    "eslint": "^8.8.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.20.2",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-vue": "^8.4.0",
    "postcss": "^8.4.5",
    "sass": "^1.49.7",
    "tailwindcss": "^3.0.15",
    "vite": "^2.7.2"
  }
}

i dont  know what i am doing wrong . i think has something to do with yarn workspaces
Expected Behavior
packge should use  vue from app modules rather than root nodemodules
To Reproduce
package.json admin
{
  "name": "admin",
  "version": "0.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview",
    "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src"
  },
  "dependencies": {
    "@apollo/client": "^3.5.8",
    "@fortawesome/fontawesome-svg-core": "^1.2.36",
    "@fortawesome/free-solid-svg-icons": "^5.15.4",
    "@fortawesome/vue-fontawesome": "^3.0.0-5",
    "@headlessui/vue": "^1.4.3",
    "@tinymce/tinymce-vue": "^4",
    "@vue/apollo-composable": "^4.0.0-alpha.16",
    "@vuelidate/core": "^2.0.0-alpha.34",
    "@vuelidate/validators": "^2.0.0-alpha.26",
    "chart.js": "^3.0.0",
    "cloudinary-vue": "^1.2.3",
    "graphql": "^16.3.0",
    "graphql-client": "*",
    "graphql-tag": "^2.12.6",
    "router": "^2.0.0-beta.1",
    "utils": "*",
    "vue": "~3.2.25",
    "vue-chart-3": "^3.0.9",
    "vue-router": "4",
    "vuex": "4"
  },
  "devDependencies": {
    "@tailwindcss/forms": "^0.4.0",
    "@vitejs/plugin-vue": "^2.0.0",
    "@vue/eslint-config-airbnb": "^5.0.2",
    "autoprefixer": "^10.4.2",
    "config": "*",
    "eslint": "^8.8.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.20.2",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-vue": "^8.4.0",
    "postcss": "^8.4.5",
    "sass": "^1.49.7",
    "tailwindcss": "^3.0.15",
    "vite": "^2.7.2"
  }
}

store front package.json
{
  "name": "zivero",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "vue-cli-service serve --host <IP_ADDRESS> ",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "apollo-cache-inmemory": "^1.6.6",
    "apollo-client": "^2.6.10",
    "apollo-link": "^1.2.14",
    "apollo-link-error": "^1.1.13",
    "apollo-link-http": "^1.5.17",
    "core-js": "^3.6.5",
    "graphql": "^15.4.0",
    "graphql-tag": "^2.11.0",
    "promise": "^8.1.0",
    "vue": "^2.6.12",
    "vue-apollo": "^3.0.5",
    "vue-router": "^3.4.9",
    "vuetify": "^2.2.11",
    "vuex": "^3.5.1"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.8.0",
    "eslint-plugin-vue": "^6.2.2",
    "sass": "^1.19.0",
    "sass-loader": "^8.0.0",
    "vue-cli-plugin-vuetify": "~2.0.7",
    "vue-template-compiler": "^2.6.12",
    "vuetify-loader": "^1.3.0"
  },
  "eslintConfig": {
    "root": true,
    "env": {
      "node": true
    },
    "extends": [
      "plugin:vue/essential",
      "eslint:recommended"
    ],
    "parserOptions": {
      "parser": "babel-eslint"
    },
    "rules": {}
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not dead"
  ],
  "_id"<EMAIL_ADDRESS>  "readme": "ERROR: No README data found!",
  "graphql": {
    "schema": "./schema.graphql",
    "client": {
      "service": {
        "name": "zivero",
        "url": "http://localhost:8000/graphql"
      }
    }
  }
}

Hey there! Sorry about that. I don't think this is related to turbo CLI but rather your yarn workspaces setup.
Anyways, you might look at using either yarn 1 resolutions  or nohoist to tell yarn how to resolve or not hoist up each respective vue version.
Hope that helps!

Thanks ... nohoist saved my day ...


my .implode skull reaction does not CLOSE THE bot/maleware

I cant help you, its not even working for me to create the malware.

you have discord i can try to help

should be fixed, will be in the next update :)


Added timeout to take number of seconds

Added timeout to take number of seconds instead of being optional or a IbcTimeout struct to make easier to set up the timeout for users.
Also upgraded the optimizer version.

hey! this is great and a HUGE ux pain point rn.
my worry with this approach is that we completely loose the ability to set heights as timeouts. i, personally, can't think of much of a reason you'd prefer one over the other, but the spec allows specifying it so i figure we should too.
how would you feel about refactoring this so that we set a default IbcTimeout during instantiation and then use that if none is specified during a send?

I see where you coming from, it is a spec after all, just few thoughts to consider.

timeout is the limit, its basically how long it will take before this request will be considered invalid, I just think giving a relative timeframe would be much better then an absolute, it just makes more sense to me personally.

setting a timeout of 1 second from now will actually cause the request to fail because its not enough time for the relayer to kick in, might be a weird issue to debug.

protocols shouldn't have opinions, I don't agree, even CW721 has options, timeout is not a core functionality, its a limit, and I actually think that the other PR is better, just keep it as an option and set our own default if None was provided.
Will avoid a lot of the issues you talked about, will keep it cheap (instead of loading from storage every transfer), and will give full control over timeout if someone needs it.

What about this solution:

define in IbcAwayMsg: pub timeout: Option<IbcTimeout>,
define in InstantiateMsg: pub default_timeout: u64

If IbcAwayMsg has no timeout, default is used.


Update "robolectric4-sandbox.jar" SHA to unblock broken Docker CI test

Summary:
As the commit message says, the test_docker CI job started to fail with
Unable to download mvn:org.robolectric:sandbox:jar:4.4 (hashes do not match. Expected 03cedd73c5aedaf79fb9a593552816c9fb3282f2, saw da39a3ee5e6b4b0d3255bfef95601890afd80709)

I'm updating the stored hash to fix it.
Changelog:
[Internal] [Changed] - Update "robolectric4-sandbox.jar" SHA to unblock broken Docker CI test
Differential Revision: D32063444

Closing as it was a flaky


feat:implement local station finder based on google:s2 indexer

Issue
https://github.com/Telenav/osrm-backend/issues/240
Major changes

change the name of tnsearchfinder to cloudfinder
implement local station finder based on google:s2 indexer

Minor changes

change name of NewTnSearchStationFinder to New
add protection code in go func() in unit test of orig_station_finder_test.go
change return value of IterateNearbyStations() from <-chan stationfindertype.ChargeStationInfo to <-chan *stationfindertype.ChargeStationInfo, original strategy is easy to create bugs while convert channel result into pointers https://play.golang.org/p/gWgJpEOSuj6

To do

Change spatialindexer.PointInfo to spatialindexer.PlaceInfo
Replace spatialindexer.Location to nav.Location
Integrate Stop functionality into Station Finder's algorithms

Tasklist

[ ] update relevant code
[ ] add tests
[ ] review

Seems there is something wrong with github's actions, CI check also failed for clean branch

Seems there is something wrong with github's actions, CI check also failed for clean branch

Poor Github!!! Has re-run the jobs, let's see whether it's ok now.


[Usability] Add display of relation storage size in properties view

Using postgres, but this makes sense for all databases.
Feature request:
Display the relation size on disk in bytes for tables, indexes, materialized views - all objects that store data. This would be very useful info to display, sort of like row count estimate is now.
For postgres, this can be had with pg_table_size(oid) function.

already implemented


Remove invalid label if all checks pass

Description
Fix mergify.yml to remove "invalid" label if it passes checks
Fixes # (issue)
Type of change
What is it?

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I run go fmt ./... to check that my code is properly formatted
[ ] I run go vet ./... to check that my code is free of common Go style mistakes

Test results are available in Ibutsu. The test run IDs are:
25add08a-6258-41fc-a099-2226619007d8
e9a2b680-ded9-46f4-a3c3-ef5c9f1487d3

@mergifyio unqueue

@mergifyio refresh


Rename note to notification throughout the codebase

We use the term note in a bunch of places where we mean a notification. This is confusing because note is very much not a standard abbreviation of notification and we do use notes in the context of IDEs as diagnostics.
We should rename all those occurrences to notification to avoid confusion.

Tracked in Apple’s issue tracker as rdar://116703667


Pyqtgraph viewports

Use pyqtgraph to display camera images
Add camera abstraction and mock camera class

Note: spinnaker is still an optional import here because I haven't been able to install it (still looking into that).

Thanks for the new PR! Rather than adding comments I decided to just commit a few changes on top of this branch:

Screen refresh every 16 ms is too fast, makes the UI laggy, 250 ms is fine for now
I noticed the color mapping was wrong (BGR vs RGB) so rather than doing the conversion in ScreenWidget (as I was doing before) I updated the PySpinCamera class to initialize as RGB. this saves us the conversion operation
Automatically assigning cameras at startup is not obvious behavior to me. This can be handled later when we introduce the configuration module. Instead, let's just refresh the camera list upon startup and let the user pick cameras from the screenwidgets; it only takes a second and it feels more intentional.
Devices > Refresh Camera List wasn't working; I realized this was because the "get cameras" code in PySpinCamera.listCameras should be outside the "if" block

If you could take a look at these changes and let me know any comments, I'd be happy to merge this.

All changes look good to me!
If we can arrange time for me to test on your hardware, I can fix the fps / GUI responsiveness issue.


Random crashes when plugin is active

Hello,
Neovim crashes when entering insert mode in a function.
It only happens when the plugin is active and in Python.
The logs don't show much, all I have is :
~/.cache/nvim/log
WARN  2022-06-29T18:49:36.462 97125 deadly_signal:177: got signal 1 (SIGHUP)

I can't find anything else in any logs...
Do you have any idea about that ?

Is that randomly?
Could you add the function prototype/signature and the code snippets when the crash happened?
Also the neovim version as well.
Btw, there are signature logs as well. In your config:
  debug = true, -- set to true to enable debug logging
  log_path = vim.fn.stdpath("cache") .. "/lsp_signature.log", -- log dir when debug is on
  -- default is  ~/.cache/nvim/lsp_signature.log
  verbose = true, -- show debug line number

TBH, I think it might be because LSP does not handle the signature requests properly.
Thanks!

Here is the method I was calling when neovim crashed :
    def register(self, module, *args, **kwargs):
        """
        Register a new module.

        :param module: Either a string module name, or a module class,
                       or a module instance (in which case args and kwargs are
                       invalid).
        :param kwargs: Settings for the module.
        :returns: module instance
        """
        from i3pystatus.text import Text

        if not module:
            return

        try:
            return self.modules.append(module, *args, **kwargs)
        except ImportError as import_error:
            if import_error.name and not import_error.path and isinstance(module, str):
                # This is a package/module not found exception raised by importing a module on-the-fly
                return self.modules.append(Text(
                    color="#FF0000",
                    text="{i3py_mod}: Missing Python module '{missing_module}'".format(
                        i3py_mod=module,
                        missing_module=import_error.name)))
            else:
                raise import_error
        except ConfigError as configuration_error:
            return self.modules.append(Text(
                color="#FF0000",
                text=configuration_error.message))

Here is the caller where the crash happened :
status.register(
    "disk",
    path="/",
    # format="{used}/{total}G [{avail}G]",)
    format=" ⛁ {avail}  GiB ",
)

The method comes from i3pystatus more precisely : here
I'm using Neovim 0.7.0-3 from Pacman (Manjaro with i3).
I was updating my setup since I'm on holiday :)
I'll look at the logs and try to reproduce.

What is you python LSP?

I did not see crash.

Nice theme :)
It's pyright, which is fully updated :/

I can't produce logs :/
here is how it's configured :
{
        "ray-x/lsp_signature.nvim",
        event = "BufRead",
        config = function()
            require "lsp_signature".setup({
                debug = true, -- set to true to enable debug logging
                log_path = "/home/quentin/.cache/lvim/lsp_signature.log", -- log dir when debug is on
                -- default is  ~/.cache/nvim/lsp_signature.log
                verbose = true, -- show debug line number
            })
        end
    }, -- function signature while inserting

And the autocommand :
    { "BufWinEnter",
        { pattern = { "*.py", "*.go", "*.rs", "*.js", "*.c" }, command = "lua require('lsp_signature').on_attach()", }, },

But no log is written to given file. As you can see I declared an absolute path and created the file with my user to be sure.
The file stays empty.

Hello,
Tried with last stable <IP_ADDRESS> and dev 0.8.xx version of Neovim and the crash still occurs.
Tried with a minimal setup and no crash so I guess it's a conflict somewhere in my config :/
Won't be easy to figure it out :)

!!! Found it :)
It's the terminal emulator...
When I enter a function with no signature provided, lsp_signature displays an emoji :panda:
For some reason, my terminal emulator (st) can't display it and crashes.
When I used Alacritty it didn't crash...
:) I guess I'll have to recompile st.
I thought about it since I tried to display the logs with less and it crashed... it didn't when I opened them with tail who skipped some of it.

Well, I only had to install ttf_symbola to fix it. Ref


hyprland: 0.36.0 -> 0.37.1, hyprlandPlugins.hy3: 0.36.0 -> 0.36.0-unstable-2024-03-06

Description of changes
Changelog for 0.37.1
Changelog for 0.37.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[x] Fits CONTRIBUTING.md.

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

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

1 package failed to build:

hyprlandPlugins.hy3

10 packages built:

grimblast
hdrop
hyprland
hyprland.dev
hyprland.man
hyprshot
nwg-panel
nwg-panel.dist
waybar
xdg-desktop-portal-hyprland

hy3 need update: https://github.com/outfoxxed/hy3/commit/a392bfd13caf865ccf6b9df6917b67cc3a054b82

Is the ofborg job stuck? It's been running for 19 hours :thinking:

hyprland don't work on darwin anyway, tests on linux has passed

Can be merged right?

Can be merged right?

Yes.

@SuperSandro2000 can you have a look and merge it please?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3668


WYSIWYG mode

Please select if your request is either something new or an enhancement

[ ] Enhancement of an existing Feature.
[x] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[x] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[x] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[ ] Publish - External Site Publish
[x] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
For note taking I don't think it's that useful to have two tabs open for the same file.
That takes up more screen estate and leads to the indecisiveness of which pane to look at when reading through / editing a note.
The fact that one's notes will never be a "finished product" doesn't help the case of a dual pane either.
Not saying get rid of it, because there may be people who use Dendron as e.g. a site generator (on top of this being a matter of preference), but having an option of not having to deal with two separate panes would be huge.
Describe the solution you'd like
A (pseudo?) WYSIWYG mode like the one in Typora and Obsidian.
Describe alternatives you've considered
There's https://github.com/ryanmcalister/unotes but it lacks Dendron-specific features.
E.g. mermaid is not a thing there.
Neither are note references.
VSCode comes with a pseudo-WYSIWYG mode, but, again, lacks the Dendron-specific features, and while it does support things like Katex or tables, it doesn't help construct them or add any helpful pseudo-formatting so you're pretty much forced to use the preview pane with those.
Additional context
Add any other context or screenshots about the feature request here.

Thanks @github-account1111 for the feature request. This would be a more involved task. we don't have immediate plans of implementing this now but adding it to our backlog and as a consideration for a future crop

Hey, @github-account1111, have you tried Markless extension? It's not Typora, but it might fit your needs.

This is the one thing that is holding me back from using Dendron.
Too much 'screen estate' is being used to show the same information twice.
It's a shame it seems like this will not be looked into any time soon.

Another one: Markdown Editor

Markless is a buggy and invasive extension.
It causes rendering issues in completely unrelated files (e.g. .txt).
Markdown Editor is pretty much identical to Unotes and suffers the same pitfalls.

@codeluggage made a post about this in the Discord server:

I prefer WYSIWYG (to some extent) too. Markless, one of the better WYSIWYG markdown extensions I've found (all other extensions work, etc) is at a fairly comfortable state for daily use.
Here's a video of it: https://discord.com/channels/717965437182410783/743194856788328497/896331597559791617
And here's a thread with some more discussion around the Markless extension: https://discord.com/channels/717965437182410783/743194856788328497/896414528898740225

Just in case it is useful, Mark Text is an FLOSS WYSIWYG markdown editor which is very good IMHO: https://github.com/marktext/marktext

This is pretty much the only reason I don't use Dendron and am still on Obsidian. I love all the features of VS Code and use it for writing and reading all other code/text that isn't in a PDF/EPUB/HTML, and Dendron has a lot of cool additions on top of that. But without WYSIWYG with larger fonts for headings and embedded images gives the edge to Obsidian/silverbullet.md for dual viewability/editability of Markdown notes.


Concern about Travis CI test

On my latest PR the Travis CI test said that the PR passed yet its output log showed the following:
*** Error in `/home/travis/build/OpenWaterAnalytics/EPANET/buildprod/bin/runepanet': double free or corruption (!prev): 0x00000000007eca20 ***
example1: fail
example1: Non-zero exit code
*** Error in `/home/travis/build/OpenWaterAnalytics/EPANET/buildprod/bin/runepanet': corrupted size vs. prev_size: 0x0000000001aa0000 ***
example3: fail
example3: Non-zero exit code

There were similar failures for three other test files. Each of these files ran with no problems on my local machine. Does this indicate an issue with the Travis CI testing procedure?

 Perhaps you aren't looking at the results for the most current build. By the looks of it, the changes you are making are crashing hard.
Why don't you try building with mingw locally? That's what I do when I need to root out problems on linux/gcc.

@michaeltryby my comment was referring to the commit prior to the last one that failed (Travis build #620, not #622). The latest commit, that closes the output file when EN_closeQ is called and opens it for EN_initQ and EN_report, has the re-entrancy test pass on AppVeyor but fail on Travis. Any ideas why? I will try building locally with MinGW.
I believe it's really important that client apps have direct access to the output results file without having to close down the entire project. In lieu of this we could add two new functions, EN_getnoderesult and EN_getlinkresult, that return a computed result for a given variable at a given time period. However this option probably wouldn't be as efficient as having direct access to the file.
If a client app can't get access to all of the results of a run (while the project is kept open) it would have to capture results at each reporting time period (using the existing  EN_getnodevalue and EN_getlinkvalue) as the simulation unfolds and save them somewhere so that interactive display of the results (in graphs and tables) could be done efficiently.

It’s important to remember that Travis isn’t doing anything magical. It’s just building and running EPANET on Ubuntu Linux. Likewise, reg testing is just running the EPANET CLI for a bunch of known test cases.

@LRossman What happened when you built using mingw locally? Were you able to reproduce the problem?

@michaeltryby building with mingw didn't reproduce the problem which was a runtime error not a build error. I assume that Travis runs on a Linux system while my mingw build runs on Windows. Looking at the error report ("double free or corruption") and since my code changes involved using fclose on the binary output file, I think I may have been freeing a file handle twice.

The commit in question was trying to close an already closed file (due to two file handles pointing to the same file). This produced a runtime error under Linux (hence the Travis CI failure), but not under Windows (allowing AppVeyor to succeed). This issue has been fixed in PR #408.


error "The stream data is not supported"

Hello,  I would like you to help me with a problem that I have.
I'm trying to run the cortex_example_export_record.py to get the csv file, but the export_record method doesn't work well.
What can cause the problem?
Thank you!
export record request  {
"jsonrpc": "2.0",
"id": 113,
"method": "exportRecord",
"params": {
"cortexToken": "",
"folder": "C:\export",
"format": "CSV",
"streamTypes": [
"EEG"
],
"recordIds": [
""
],
"version": "V2"
}
}
export record result {
"jsonrpc": "2.0",
"warning": {
"code": 0,
"message": "All subscriptions of session *** was stopped by Cortex"
}
}
export record result {
"id": 113,
"jsonrpc": "2.0",
"result": {
"failure": [
{
"code": -32138,
"message": "The stream data is not supported.",
"recordId": "***"
}
],
"success": []
}
}

Hello @paz1
The most likely reason is that the license you used to create this record doesn't include the access to the EEG data.
Please use the method getRecordInfos to get the record, and check the field "licenseScope" of your record.
If the licenseScope doesn't include the scope "eeg" then you cannot export the EEG data.
See https://emotiv.gitbook.io/cortex-api/records/exportrecord for more details.

I have fixed it and get permission for the EEG data but now I get this error-
export record request  {
"jsonrpc": "2.0",
"id": 113,
"method": "exportRecord",
"params": {
"cortexToken": "",
"folder": "C:\export",
"format": "CSV",
"recordIds": [
""
],
"streamTypes": [
"EEG"
],
"version": "V2"
}
}
export record result {
"jsonrpc": "2.0",
"warning": {
"code": 0,
"message": "All subscriptions of session *** was stopped by Cortex"
}
}
export record result {
"id": 113,
"jsonrpc": "2.0",
"result": {
"failure": [
{
"code": -32137,
"message": "Cortex can not open record data file.",
"recordId": "***"
}
],
"success": []
}
}
Thank you!

Cortex cannot create the CSV file.
Did you create the folder "C:\export"? If not then you must create it before you call the export API.


ReferenceError: screenfull is not defined

In a react typescript project, after
npm i leaflet.fullscreen
npm i screenfull
npm i -D @types/leaflet.fullscreen
when I add
import 'leaflet.fullscreen';
the project fails in runtime with:
Unhandled Runtime Error
ReferenceError: screenfull is not defined
I'm using
"leaflet": "^1.7.1",
"react-leaflet": "^3.0.5",
"leaflet.fullscreen": "^2.0.0",
"screenfull": "^5.1.0",

Please read Tips for typescript environments in https://github.com/brunob/leaflet.fullscreen/blob/master/README.md

Thanks for reading my issue. There isn't anything on the tips for typescript that helps me. In fact, I'm doing it exactly as the README suggests, yet I get a runtime javascript error.

Ha, @BePo65 are you sure that your tip is functional ?

@mrjones03650 can you give some more information? E.g. how does your code look like and what is the exact wording of the error?

I have exactly the same problem after upgrading your library from 1.6.0 to 2.0.0.
Using :
{
  "leaflet": "^1.7.1" // I tried the 1.5.1 too, same problem
  "leaflet.fullscreen": "^2.0.0"
}

Stack trace :
ReferenceError: screenfull is not defined
    at NewClass._createButton (Control.FullScreen.js:80)
    at NewClass.onAdd (Control.FullScreen.js:40)
    at NewClass.addTo (leaflet-src.js:4757)
    at NewClass.addControl (leaflet-src.js:4824)
    at NewClass.<anonymous> (Control.FullScreen.js:141)
    at NewClass.proto.callInitHooks (leaflet-src.js:352)
    at NewClass.initialize (leaflet-src.js:3119)
    at new NewClass (leaflet-src.js:296)
    at Object.createMap [as map] (leaflet-src.js:4691)
    at VueComponent.mounted (kpimap.vue:227)

And for example, my line 227 is :
this.map = L.map(this.id, {
	fullscreenControl: true,
	fullscreenControlOptions: {
		position: 'topleft',
	},
}).setView([0, 0], 2)

I hope it helps 👋🏻

ok, let me scratch my head ;-)
I'm working with Angular and will try to update my test project on stackblitz.
As I am quite busy at the moment, i probably cannot come back with an answer before next week - so please be patient (I hope this issue is not a showstopper for your projects; otherwise give me a hint so that I can try to switch priorities).

Sorry to not be helpful on that type of question, but i'm far away all this stuff. Anyway, you can tick your project on latest v1 of the script while waiting for a fix :)

No problem, @brunob @BePo65 👋🏻
Tell me if you need anything to reproduce the bug.

I just tried to reproduce my tests that led to the "section" about typescript in the readme.
Somehow I mixed up my code and so I had a modified version of fullscreen in my sample project.
This means: the  "section" about typescript in the readme must be removed again :-(
For my own project a made a clone of brunob wonderful project for angular that solves the issues (named @bepo65/leaflet.fullscreen); I suppose it is usable for other typescript frameworks too. I will try to keep this clone in sync with brunobs project (if he agrees :-)

This means: the "section" about typescript in the readme must be removed again :-(

So we just need to replace it with a link to your repo (?)

For my own project a made a clone of brunob wonderful project for angular that solves the issues (named @bepo65/leaflet.fullscreen); I suppose it is usable for other typescript frameworks too. I will try to keep this clone in sync with brunobs project (if he agrees :-)

Sorry to put this charge on your side, but i think it's the right option, or maybe i should simply revert the work i've done on v2 and stick on the old legacy code i was using in v1.Feel free to provide yours thoughts on this point.

So we just need to replace it with a link to your repo (?)

That would be a possible solution (:-) - @bepo65/leaflet.fullscreen

or maybe i should simply revert the work i've done on v2 and stick on the old legacy code i was using in v1

let me think during the weekend - perhaps it is possible to find a solution for both

I think I found the reason for this problems:

in the factory function of leaflet.fullscreen the package screenfull is accessed via the global window object (e.g. in line 80 - as you know screenfull is a short form of window.screenfull), but screenfull is added to the global window by the IIFE only if we live in a plain browser environment. As a solution we must inject not only leaflet, but also screenfull into the factory function.

the source of screenfull only creates a commonjs module or appends screenfull to the window object. But angular (and perhaps even other frameworks that use typescript plus packagers) use amd modules (if available) and in that case the IIFE of leaflet.fullscreen requires both dependencies (leaflet and screenfull) to be amd modules; as screenfull doesn't deliver an amd module, the reference to the package screenfull cannot be resolved. And that is what produces the error.

I solved both points in the pr #82 (learning a lot about amd modules, typescript and angular :-).

A workaround until #82 is through the door is to add screenfull to window.
I'm using react-leaflet so this might not work for everyone.
import screenfull from 'screenfull';
window.screenfull = screenfull;

Any further progress on this one? I was seeing something which looked very similar to this when my WordPress plugin is used on iOS/Safari.
[Error] TypeError: undefined is not an object (evaluating 'screenfull.raw.fullscreenchange')
	_createButton (Control.FullScreen.min.js:1:1934)
	onAdd (Control.FullScreen.min.js:1:653)
	addTo (leaflet.js:5:46460)
	addControl (leaflet.js:5:46969)
	(anonymous function) (Control.FullScreen.min.js:1:3507)
	(anonymous function) (leaflet.js:5:3515)
	initialize (leaflet.js:5:26308)
	i (leaflet.js:5:2622)
	(anonymous function) (leaflet.js:5:141670)
	init_datahub_map0 (wordpress-plugin-for-ordnance-survey-maps:64)
	Global Code (wordpress-plugin-for-ordnance-survey-maps:108:105)

The Problem is solved. Unluckily the (not so substantial) changes contain the reordering of functions in a module and this is not so easy to understand if you have to do this in github.
So please give brunob some more time to do this checking.

I have created a plugin for react-leaflet v3 to integrate with this awesome repo. Please check this out - https://github.com/elangobharathi/react-leaflet-fullscreen-plugin

When is the timeline to merge the pull request and publish a new version to npmjs?

When is the timeline to merge the pull request and publish a new version to npmjs?

As soon as i'll find a moment to work on this for people using things that i don't use :)


Update MDIO pins in readme

The MDIO pin numbers were changed from upstream in code, but the readme was not updated.
This confused me for quite a while, as the nINT pin was updated so I assumed the readme was correct

Looks like I missed that!
Also https://github.com/maximeborges/pico-rmii-ethernet/blob/main/src/include/rmii_ethernet/netif.h#L24 is missing retclk_pin and could also be updated with the value you updated in the README.

Sure, I can do that.
Was the pin number change for a reason? I can see that the defaults are still the same, maybe we should change back to the same pin numbers as upstream?

I don't really remember why I changed them ^^'
If it's working on your side with 14/15, I guess we can change it back then.

I've tested it with the old pin numbers and it's working still, so I think this is good to go?


Safe pointers/handlers in Rust

Currently, the only "safe" way to have pointer/handler to parent in tree-like structure is using Rc::Weak.
In other word, there is currently no both efficient and safe way of having non-owning pointer/handler. (Thou Rc is almost no-op itself, it stores object in heap )
Rust have strong "move-semantics" restrictions. In that terms, that language forbids use after move, and move by default.
During move, physical address of object may change. It is possible to track that change. And the fact of object destruction.
C++ have move constructor, it is possible to track object movement at library level. And it is possible to make "trackable pointer" . Here is implementation on C++ https://github.com/tower120/trackable_ptr
trackable_ptr is ALWAYS valid or null. As you can see, it allow to store objects continuously, without fear of invalidating pointer, index, iterator.
Rust does not have move constructor. Hence, we can not customize move operation. Hence it is impossible to have library solution for this, but requires language assist.
With this at language level, Rust could have safe pointers/handlers, which is always valid or null. This is useful also for Box'ed objects, since its handler automatically becomes null after destruction.
Limitation for this technique is that it is only safe to use it in single-thread environment. But since Rust have tools to enforce this, this should not be a safety problem.
As a bonus - you can have non-invalidatable vector iterators. https://tower120.github.io/2017/10/29/trackable_ptr_as_non_invalidatable_iterator.html

@tower120 Rc::weak should be efficient. Note that the trackable_ptr example you referenced requires O(n) time to move or destroy the object, where n is the number of references. All operations on Rc and Weak are constant time.

@Diggsey True, but Rc stored in heap. That's the source of inefficiency.

Currently, the only "safe" way to have pointer/handler to parent in tree-like structure is using Rc::Weak.

Other ways include an arena allocator or using numeric IDs: https://github.com/SimonSapin/rust-forest / https://exyr.org/2018/rust-arenas-vs-dropck/

It’s not clear what you’re proposing here. What changes to the language or standard library would you like to see?
For what it’s worth, adding move constructors is unlikely to ever happen since that would break large amounts of existing (unsafe and generic) code that assumes that you can move a value of any type with only a shallow copy of size_of::<T>() bytes.

As far as I can tell, move construction is what they're proposing.

For what it’s worth, adding move constructors is unlikely to ever happen

It is impossible to have ANY kind of post-move action?

that would break large amounts of existing (unsafe and generic) code that assumes that you can move a value of any type with only a shallow copy of size_of::() bytes.

What if exact bits of object remains identical, untouched?
Only post-move action is needed, after object shallow copied. This action will not mutate object in any way.
Add language assisted
trait PostMovePure{
   fn object_moved(&self);   // pure, no side effects for self
};

PostMovePure::object_moved will be called after each move for objects that implement it.
This should prevent breaking changes...

What would the point of an on-move hook that can't do anything be? Such a function wouldn't solve your original desire of wanting a way to fix up dangling self-references during a move either.

Vec::push for example is based on ptr::write https://github.com/rust-lang/rust/blob/1.26.2/src/liballoc/vec.rs#L1063, which is basically memcpy. No hook/action/method is called. Every bit of code similar to this would need to be changed to explictly call object_moved. But much of that code is not in the standard library, so we can’t ever guarantee that it’ll be called when expected.

What would the point of an on-move hook that can't do anything be?

trackable have to change value in trackable_ptr, not in self (and vice versa for trackable_ptr). Hence, with unsafe and raw pointers it would be possible.

Vec::push for example is based on ptr::write

Yes, I see now... To make it work, ptr::write would have to check, does src address range contains trackables, and if yes - call object_moved... theoretically...
It is understandable, that complexity of possible solutions/fixes higher than benefits.
So in general, this technique can not be applied in Rust.


Add Functionality to Change Paragraph Style for Highlighted Text

Description
Enhance the Tiptap editor by adding functionality to change the paragraph style of highlighted text when selecting an option from the "Paragraph" dropdown menu.

Paragraph
Heading 1
Heading 2
Heading 3
Bullet list
Numbered list

Steps to Accomplish

Update Toolbar/Bubble Menu:

Add the "Paragraph" dropdown to the Tiptap editor's toolbar or bubble menu.

Implement Functionality:

Implement functionality to change the style of highlighted text based on the selected dropdown option.
Use Tiptap’s existing commands and schema to apply the corresponding styles.

Test Changes:

Test the dropdown functionality to ensure it correctly changes the paragraph style of highlighted text.

Paragraph, Heading 1, Heading 2, Heading 3 done ✅
https://github.com/user-attachments/assets/e837bc3f-4efb-4456-a1ac-e44d825c1e88


Refetch resolves without reloading the state

This is a:

[ ] Bug Report
[x] Feature Request
[ ] General Query

My version of UI-Router is: v1.0.0-rc.1
Feature Request
Currently the only way to re-resolve data in previously active states is by specifying {reload: true} in ui-sref-opts directive or $state.go() calls. This is a huge limitation where progressive rendering is required and complete state reload is not desirable.
A simplified use case:
Let's say we have 2 states, a parent cards state representing a list of cards which has a couple of resolves and a child cards.card state for editing individual card. Upon card update to the server we return to the list of cards but the change is not reflected because cards state has not been reloaded and fresh list of cards has not been fetched from the server.
Reloading entire state using {reload: true} is undesirable because it re-resolves all dependencies even if some of them don't change at all.
Proposal:
Implement {reFetch: true} which would be similar to {reload: true} to only re-resolve dependencies that are subject to change without reloading the state. I think a good place for this would be resolvePolicy to declare all resolves that should be re-fetched if {reFetch: true} was set via ui-sref-opts directive or $state.go().
For instance:
resolvePolicy: {
    cards: {
        when: 'LAZY',
        async: 'NOWAIT',
        refetch: true
    }
}

Then on transition start we could check if reFetch is true and only re-resolve those resolves that had refetch: true declared in resolvePolicy.
I have created a plunker to illustrate the desired behaviour http://plnkr.co/edit/5CciECkWZiFv9lcBmGZT?p=preview

+1

did you manage to achieve it somehow?

@mkoczorowski no, I haven't. I don't think there's any workaround for it but it's a very common use case and I hope that @christopherthielen will consider implementing it.

I've encountered this problem so many times. Most often when:

A result-set is loaded into a view/state
The user uses form controls in the view to filter the result-set
The user interacts with one of the result-set items such that it requires a reload
The easiest way to facilitate this is a state reload, and they lose their filter form inputs because the whole damn thing reloads

I've "solved" this with $againable; a service which injects an $again method into the result of a promise. The $again method re-calls the promise that returned the result, and you can do as you need. Works wonderfully with refresh functionality.
However, I think that ui-router can solve the re-resolve issue a better way.
$resolvables as a service
Say you have:
resolve: {
    dataSet: function ($http) {
        return $http.get('/some/data/set').then(function (response) {
            return response.data;
        });
    }
}

And your controller is:
controller: function ($scope, dataSet) {
    $scope.dataSet = dataSet;
}

That's fine, but if you need to re-resolve the dataSet, you're fucked. (aside from wrapping it into a service which is overkill IMO, or re-writing the promise logic which is silly IMO)
So instead, we should have a $resolvables service. This would allow the following:
controller: function ($scope, dataSet, $resolvables) {
    $scope.dataSet = dataSet;
    $scope.refresh = function () {
        $resolvables.dataSet().then(function (dataSet) {
            $scope.dataSet = dataSet;
        });
    };
}

Every resolvable property (promise) is available through a $resolvables.{name}() function.
So, you can simply call $resolvables.whatever().then(...) and re-resolve the origin promise to a new value.
Thoughts?

Alternatively, please pilfer my $again idea.
angular.module('test').service('$againable', function ($q) {
    return function $againable(future) {
        return (function $again() {
            var deferred = $q.defer();
            $q.when(future(), function (result) {
                deferred.resolve(angular.merge(result, { $again: $again }));
            }, function (result) {
                deferred.reject(angular.merge(result, { $again: $again }));
            });
            return deferred.promise;
        })();
    };
});

Such that the resolved values have the $again method attached; therefore:
controller: function ($scope, dataSet) {
    $scope.dataSet = dataSet;
    $scope.refresh = function () {
        $scope.dataSet.$again().then(function (dataSet) {
            $scope.dataSet = dataSet;
        });
    };
}

Thing 1
I agree with the intention behind this feature request.  I'm am being very careful about feature requests like this because it fundamentally alters one of the core concepts in ui-router.  I'm not opposed to enabling a feature like this, but I want to think through the ramifications.  I'm also afraid of adding additional mental models, to avoid "fragmentation" of the userbase.
Thing 2
I think that Observables + dynamic parameters can be used (today) to achieve the desired result.
Thing 3
There is a low level (internal) resolve API that could be used to re-resolve individual resolvables.
Resolves are stored on an array of PathNode objects.  Each PathNode corresponds to a state.  The array of PathNodes represents the path of nested states from root to the deepest state.
The ResolveContext manages dependencies between resolves.   Each Resolvable object encapsulates the resolved data and status of the resolve fetch.
You could use this internal API in a component as follows:
function($transition$) {
  var path = $transition$.treeChanges('to');
  var context = new ResolveContext(path);
  var myResolve = context.getResolvable('myResolve');

  // Reset the internal state
  myResolve.resolved = false;
  myResolve.data = undefined;
  myResolve.promise = undefined;

  // re-fetch
  myResolve.get(context).then(result => this.result = result);
}

Of course, these steps should be abstracted into a helper of some sort.

related feature request: https://github.com/angular-ui/ui-router/issues/2888#issuecomment-280713334

@christopherthielen thanks for your response and I understand your concerns about adding "additional mental models" but I think that backwards compatibility shouldn't be an issue and users who never needed this feature should not notice any difference as it would be just one of the optional flags.
As for using internal resolve API, I don't think it's a solution in my case because the way you proposed it, I would have to inject $transition into component controller, write some code for each resolvable and that's the thing I want to avoid because it adds a significant amount of boilerplate code to every component, even when using some sort of a helper. It doesn't look like a very DRY approach. I think UI-Router should handle this transparently if we just provide a refetch: true flag in resolvePolicy of the state config object.
I haven't used observables in UI-Router's context so would appreciate if you could share an example of Observables + dynamic parameters to achieve the desired result.

Hi @christopherthielen ,
I'm also facing the same use case. I have a page that shows counts of many entities and goes to the entity list when you click on one. Now, If you add or delete an entity and go to the parent state(which showed the count), the counts are not getting updated their as it is already resolved.
I tried using your method above by creating a RouteInterceptor class which implements a onStart hook on the transition and then refreshes the resolve.
But I get the error:
Cannot read property 'apply' of null on line myResolve.promise = undefined
It most probably refers to  line 118 in source code of  core/src/resolve/resolvable.ts:
const invokeResolveFn = (resolvedDeps: any[]) => this.resolveFn.apply(null, resolvedDeps);
I dont know why but my resolveFn always becomes null after data is resolved.
Any thoughts will be helpful.

@dARKaRK If you look at the blame view for resolvable.ts you can see that the value of resolveFn is set to null after the value resolves as part of a change nearly a year ago as of this comment to fix an issue with memory leaks in transitions. I'm not seeing a simple way to keep track of the original resolveFn.


Add option to retrieve TV show artwork from TheMovieDB

I feel this would be a great addition to an already fantastic addon whenever it happens. Tvdb and Fanart.tv cover a lot of bases, TMDB is much better for highres artwork. The difference in image quality becomes even more apparent when using a projector or a big screen 4k tv.
I think the only TMDB-based artwork supported by AB currently is season posters and episode fanart. Adding TMDB support for Episode thumbnails would be amazing as thumbs at TVDB are lowres (400x225) and look bad when using a projector or big 4k screen. Same applies for posters (680x1000).


Gestion de structures (demande d'ajout, ajout, édition, recherche)

:tada: This PR is included in version 1.15.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: trim markdown style code annotations from shell output

add gitignore
take out any markdown style code blocks covering shell output

With some more recent models whenever I use the shell output format the response includes something like this and we take those out here. We might be able to achieve this with better role descriptions aka prompts but I couldn't get that to reliably work and this is easier to reason about.
\```zsh
cowsay hi
\```

Tested on the following model

MODEL | DESCRIPTION | CONTEXT WINDOW | TRAINING DATA
-- | -- | -- | --
gpt-4-1106-preview | GPT-4 TurboNewThe latest GPT-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Returns a maximum of 4,096 output tokens. This preview model is not yet suited for production traffic. Learn more. | 128,000 tokens | Up to Apr 2023

MODEL	DESCRIPTION	CONTEXT WINDOW	TRAINING DATA
gpt-4-1106-preview	GPT-4 TurboNew
The latest GPT-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Returns a maximum of 4,096 output tokens. This preview model is not yet suited for production traffic. [Learn more](https://openai.com/blog/new-models-and-developer-products-announced-at-devday).	128,000 tokens	Up to Apr 2023

Hi @hamidzr
Thank you for interest and effort. I agree that this issue should be fixed with proper roles. Since we can't adapt ShellGPT prompts to every LLM OpenAI has, I think we will change default model of ShellGPT to one of GPT-4 in comming updates.

I've just stumbled upon the same issue with Mistral 7B Instruct (which is provided as an example in the Ollama guide), and it's unfortunately much more stubborn in adding Markdown code blocks. I see no harm in having this feature, since it's extremely unlikely for an actual shell command to start with ```bash. (Although, one could argue that a model unable to refrain from using Markdown is unlikely to be useful...)

I've just stumbled upon the same issue with Mistral 7B Instruct (which is provided as an example in the Ollama guide), and it's unfortunately much more stubborn in adding Markdown code blocks. I see no harm in having this feature, since it's extremely unlikely for an actual shell command to start with ```bash. (Although, one could argue that a model unable to refrain from using Markdown is unlikely to be useful...)

Same here, I use GPT-4 Free with ChatGPT authenticated API through 'HAR' files, so it is like being forwarded directly to free ChatGPT. It also cannot strip markdowns from replies. :) Regarding your note in parentheses, this model is definitely useful; it's GPT-4. I would expect that the Hamidzr version would be merged, as I think that would resolve the issue.


Bug in keypoint_rcnn initializer

🐛 Describe the bug
Line 1890 in keypoint_rcnn
"
if num_classes is not None:
if keypoint_predictor is not None:
raise ValueError("num_classes should be None when keypoint_predictor is specified")
"
Shouldn't we change num_classes to num_keypoints in this case?
Versions
Newest
cc @datumbox

@JunzheJosephZhu You are right, this is a bug. Instead of num_classes we should be checking the num_keypoints.
The problem now is that the default value of num_keypoints=17, so checking for None makes no sense. One way to address this is to change the default value to None and for BC overwrite the value to 17 after the highlighted-if. Let me know if you would like to send a PR to fix this.

Hi @datumbox, I have created a pull request solving the above issue. Please review and comment on it.


New Year template banner image re-alignment re-size

What does this change?
This PR amends the 'Global New Year Banner Moment'

980px+ the image is aligned with the bottom of the banner
740px-979px the image is centred vertically.
Non-confetti images used

Trello Card
Images
Pre->

320px
375px
740px
980px
1300+px

Post->

320px
375px
740px
980px
1300+px

 New Year banner updates


[modify] finished event_date

Coverage decreased (-22.7%) to 61.816% when pulling 45025cabb7775298bdfe9c95eb50abeb5f9c2e82 on itowtips:event_dates into ae6b09a349b4c34e474b814ecf48b993f29bade4 on shirasagi:master.


Включить stream lookup join в trunk

Current problems:

https://github.com/ydb-platform/ydb/issues/4598
https://github.com/ydb-platform/ydb/issues/4025
yql tests canonization

            SELECT Key, Key1, Key2
            FROM `/Root/Join1_1` AS t1 LEFT JOIN `/Root/Join1_2` AS t2
                ON t1.Key = t2.Key1
            WHERE t2.Key1 = 1
            ORDER BY Key;

https://github.com/ydb-platform/ydb/blob/6ff66f609fef8bf83c298d1fb0c47868631ad3ae/ydb/core/kqp/opt/logical/kqp_opt_log_join.cpp#L772

add tests for https://github.com/ydb-platform/ydb/blob/d730690bf110c58e99a4d2fae008ad87122222e3/ydb/core/kqp/opt/logical/kqp_opt_log_join.cpp#L772

We can't enable stream lookup join because of https://github.com/ydb-platform/ydb/issues/7031


Wildcards and term regex

This PR combines #2 #3 and #8 in a single branch.

Overall this looks like a better implementation, however (there's always one however ;-)) - I think it would be great to have the infromation about the term being a wildcard term available in the AST. With these changes I'd have to check for presence of * in every term.
(I wrote a tiny evaluator of these rules in Ruby - which basically gives me search capabilities similar to Lucene/Elasticsearch but for Ruby strings - I want my users to be able to specify only valid queries)
I know it's a bit specific use case - I'd assume majority of users of this gem use the command line interface, whereas my code integrates directly with LuceneQueryParser::Parser class.

How should a search term like fo*bar be evaluated?
https://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Wildcard Searches
I see from those docs we should also support the ? character.

Ah, I missed that one - if that's the case checking for presence of * and ? should be enough.

@zerowidth ready for your review. I added support for ? and * both.

Super :+1: to this. Would it be possible to get this merged?

@zerowidth I have the power to click the Big Green Button but would prefer not to merge my own PRs. Care to do the honors?

:thumbsup: sorry for the delay, this looks good. Thanks!


Can't loginto taskboard (after installation on Synology DS916+)

Hi there,
I'm trying to instal taskboard on my Synology DS916+ (DSM 6.1). I've copied all the files and run the two commands that I should run. I can see the login screen when I open "nas/taskboard". But it shows me the login screen over and over if I enter admin:admin.
Any ideas?
Best
hubutz

Any errors in the developer tools (F12)?

Didn't know there is this thing. F12 didn't work but I got it activated.
Error is:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (login, line 0)

Do you have TaskBoard setup with a web server, or did you just copy it to a NAS? It needs an actual server like Apache or NGINX.

Well, it's copied into the /web folder of my NAS, there is an apache running.

Thanks, I'm not familiar with how that NAS works, so I wanted to be sure.
Can you access server logs to see what errors it gave? The line 0 bit is what's making me think something is missing. Does the server also have PHP installed?

I'm not really familar with all that kind of stuff - which log file do you need? And do you have any clue where I can find it?
PHP is installed. I've just tryed to install kanboard and this just worked. I'll redownload the files and see if this helps.

I would assume a php_error.log of some kind, and not really no, since I don't know how those NAS setups are working.
I don't really have enough info to figure out exactly what's going on here, so if you found another solution that works for you, don't feel obligated to spend time on this one (I actually contributed to Kanboard before creating TaskBoard).

One thing I'm wondering: he tells me that the ressource: http://xxxl/taskboard/api/login is missing. There is no file/folder named api login in api.

No, anything beyond api/ doesn't actually exist. The .htaccess file provides redirection for those paths to the api.php file with the correct route to be used.
It's possible the Apache setting is not allowing mod_rewrite to do its job. Take a look at these issue comments and see if that helps.

Hi,
I figured that there is no mod_rewrite enabled. It seem that it's no apache but nginx running. But nevermind - I can have a depper look into kanboard - sorry, woul dhave liked to try yours!

For the record, there is an NGINX config that should be working, though I've never used it myself. It's at build/nginx.conf.


refactor(core): code cleanup

Motivation
Minor code cleanup.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Builds

I don't understand what is going on here, but that doesn't look like minor code cleanup
Please explain what is going on, and why the registry format changed for example.
I'm not against the change, but I'd like these things to not be hidden in a "code cleanup" PR with a 2 words description. It's important over time to understand why changes like these were made, and preferably doing those in separate PRs with a good explanation.

Another reason—not very major, because I'm not sure yet—is that if we are to migrate to other code-splitting library, we may need to change the registry format. Right now, the loader and modulePath come from the exact same value, so it makes sense to merge them as one variable, so that we can easily change the registry format in the future.


Fixed issue with lane switching during game start

"var dmg" is always 0 when the game starts the first time (DPS is 0 since the player has 0 auto-fire cannons). Future enhancement would be to include the DPS from the auto-clicker.
Fixed the if statement by using proper operators, this fixes #16

Good catch, I figured it was something like that.


Build a package using poetry

Initial attempts to install poetry failed but will pick it up and describe the trouble shooting here

This closes #3

#3 https://github.com/rortizmerino/python-intermediate-inflammation/commit/2d15e90917c001876b0e240228c9cf852c06bef4


Add supports for BigDecimal when comparing Number

:octocat: Just another idea here, but what about comparing anything that implements java.lang.Comparable?  This implementation would support comparing of many data types, including BigDecimal.

I don't think java.lang.Number implements Comparable, so we have to cast it.

Although this could easily be a separate issue, it does affect your code dealing with the comparison if BigIntegers.  My suggestion is that the comparison methods in OperatorUtils be re-implemented so that they that use java.lang.Comparable to ensure that all number data types (ints, floats, etc...) can be easily compared.
    public static boolean gt(Comparable<?> op1, Object op2) {
        return op1.compareTo(op2) > 0;
    }

    public static boolean gte(Comparable<?> op1, Object op2) {
        return op1.compareTo(op2) >= 0;
    }

    public static boolean lt(Comparable<?> op1, Object op2) {
        return op1.compareTo(op2) < 0;
    }

    public static boolean lte(Comparable<?> op1, Object op2) {
        return op1.compareTo(op2) <= 0;
    }

In the above example there is no need for method implementations to compare objects (like wideningConversionBinaryOperation), when Comparable<T> can be used instead.
Does that make sense?

I've just refactored and simplified all comparisons and operations to support all type (BigDecimal, Double, Float, BigInteger, Long, Integer, Short, Byte).

This is great; I appreciate the work you put into this. I merged it in but not without a couple of modifications/notes:

I'm hesitant about the code that parses numbers from strings to perform binary comparisons, ex. "2"<"4". I can't think of a very good use case and it's arguable that string comparisons should actually perform a letter-by-letter alpha comparison, i.e. "abc" < "abd", which can be helpful for sorting. Regardless, I kept that code in for now but I'll probably leave it undocumented until someone brings up a good use case.
I removed the code that attempts to perform binary operations on strings, ex. "2" + "3". I did so because a "+" operator is reserved for string concatenation. So "2"+"2" should equal "22", not "4". Even if we kept the "+" operator as a concatenation operator (which you did) I still wouldn't want the other operators implemented for strings because then there would be an expectation that addition would be available too.
I added back the "integerOperation" method which was removed from the OperatorUtils and replaced with "longOperation" even if both operands are integers. All of our tests pass without it but I still want to strictly follow the Java specification because someone out there may be relying on the fact that two integers added together will return an integer. Perhaps someone is even relying on integer overflow/underflow.

I agree with all the changes you made. We can also remove the string comparison, I have no problem with it. And I would replace it with a filter to parse a string as a Number. What do you think about it ?

@mbosecke As for the third point, if somebody rely on overflow/underflow, we should also add Short and Byte operation ?

I had to double check this, and I hope I'm reading it correctly, but according to the java spec it looks like chars, shorts, and bytes are converted to integers during a binary operation:
https://docs.oracle.com/javase/specs/jls/se8/html/jls-5.html#jls-5.6.2


v1 / v2 comparison?

Is there any page comparing v1 to v2 and explaining what one gains by the switch, as well as what changes are necessary?

There’s a blog post coming.
On Nov 15, 2018, 2:39 AM -0500, Jean-Philippe Ouellet<EMAIL_ADDRESS>wrote:

Is there any page comparing v1 to v2 and explaining what one gains by the switch, as well as what changes are necessary?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


cats doesn't work in blender 2.93

after blender update cats n works correctly in blender 2.93
does not work activate and when it works when importing the model the fix options do not appear and others are broken

Having the same issue.

Facing this issue as well. Error I receive on model import:

Installing development version of the plugin fixes the issue.
You can install dev version in Preferences - Add-ons - Cats Blender Plugin - Install Development Version.

thankyou

I have the same problem:
Traceback (most recent call last):
File "C:\Users\winds\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\operators\fileio.py", line 159, in execute
self.__translator = DictionaryEnum.get_translator(self.dictionary)
File "C:\Users\winds\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\translations.py", line 323, in get_translator
return getTranslator(dictionary)
File "C:\Users\winds\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\translations.py", line 171, in getTranslator
elif csvfile in bpy.data.texts:
TypeError: bpy_prop_collection.contains: expected a string or a tuple of strings

I have the same problem:
Traceback (most recent call last):
File "C:\Users\winds\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\operators\fileio.py", line 159, in execute
self.__translator = DictionaryEnum.get_translator(self.dictionary)
File "C:\Users\winds\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\translations.py", line 323, in get_translator
return getTranslator(dictionary)
File "C:\Users\winds\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\cats-blender-plugin-0-18-0\extern_tools\mmd_tools_local\translations.py", line 171, in getTranslator
elif csvfile in bpy.data.texts:
TypeError: bpy_prop_collection.contains: expected a string or a tuple of strings

Have exactly same problem, and I see you have Lumine profile picture so I guess you tried to import Genshin Impact models as well as me xD

Thanks for the reports, this is now fixed in the new release version 0.19.0.


[WIP] Fix integer scatter_add failure on Windows

https://ci.preferred.jp/cupy.experimental.win.cuda100/71661/

Now I just added dtype combinations in scatter functions tests, but let me check that the tests fail here since I don't have a local Windows environment :bow:
Jenkins, test this please.

Jenkins CI test (for commit a03c95827b1b4792cd697994e21a02a690df0466, target branch master) failed with status FAILURE.

Windows CI failed.
https://storage.googleapis.com/chainer-artifacts-pfn-public-ci/cupy-ci/71666/cupy_test_log.txt

Jenkins, test this please.

Jenkins CI test (for commit 53b0c46cf4dfd754dbc2083ffe341a3bc5a5f62d, target branch master) succeeded!

The CI failure is due to the difference of dtype behavior between Linux and Win32.
On Linux, numpy.intc is an alias of numpy.int32. However, on Win32, numpy.dtype('i').type == numpy.intc and it is not an alias of numpy.int32.

Jenkins, test this please.

Jenkins CI test (for commit f29d3ea1514efa6f37ff6cf10439458aff6e205e, target branch master) succeeded!

Now all tests have passed! PTAL!


Convert create endpoint form to single step stepper

as per create routes issue that i can't find

This issue was moved to cloudfoundry-incubator/stratos#1475


"VR Not Found"

Happens with Firefox nightly & Oculus Rift CV1.
Most other Web VR experiments work with this configuration

Thanks! Should be fixed now, let us know if you see anything else.

I'll try to check it out tonight, not at my VR station right now but thanks for taking a look.


Use Turborepo instead of Plop for generating code

Description
Why not use Turborepo instead of Plop for code generation?
Problem Statement/Justification
I think that since Yamada UI uses Plop for code generation, it would be better to align the code generation with Turborepo since we are already using it.
Proposed Solution or API
No response
Alternatives
No response
Are you willing to participate in implementing this feature and create a pull request include the implementation?
Yes
Additional Information
No response

@koralle
Hi, I don't find Turborepo very attractive as the one used inside is identical to Plop, which is identical to the one currently used in Yamada UI, so I don't find it very appealing.


OObjectProxyMethodHandler not serializable [moved]

This is Issue 868 moved from a Google Code project.
Added by 2012-05-31T22:26:22.000Z by<EMAIL_ADDRESS>Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium, v1.3.0
Original description
The backing OObjectProxyMethodHandler is not serializable.
This is bad when an entity is stored in a http-session for example.
Tomcat uses serialization to store the session on disk between shutdown/startup, which will fail using the new object store.

Not valid anymore.


Rendering in isolation from neighbouring features

Hi, I found the idea of seeing weights as associative memory very interesting. Could you please explain in some more detail what do you mean by rendering feature patch in isolation from neighboring features?
For example, if a network generates an output of 256x256 and I want to generate an isolated patch of 32x32. If we are analyzing a layer L with feature maps with spatial size 32x32, should the features excluding a 4x4 patch be set to 0 and so on for other layers to get final output?

That is exactly right.
On Sun, Mar 28, 2021 at 11:59 AM Vidit @.***> wrote:

Hi, I found the idea of seeing weights as associative memory very
interesting. Could you please explain in some more detail what do you mean
by rendering feature patch in isolation from neighboring features?
For example, if a network generates an output of 256x256 and I want to
generate an isolated patch of 32x32. If we are analyzing a layer L with
feature maps with spatial size 32x32, should the features excluding a 4x4
patch be set to 0 and so on for other layers to get final output?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/davidbau/rewriting/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2MN2DF6N4LFVE25PDG5YLTF5G6JANCNFSM4Z6FJUNA
.


'Save' Button Unresponsive

I successfully imported both PC and PC Local version of my wish history, but when it shows the prompt to save the wishes, I was not able to click anything. Cancel button also would not work. Hovering over the buttons does not change the button colors

Hello! Do you still have this problem? If so, can I ask you to try clearing cookies and cache in your browser


Add support for alpha-testing in sprite picking backend

              > Not sure what you mean by "test against alpha". Could you elaborate? EDIT - By that, do you mean whether or not the sprite is visible due to alpha/invisible texels? I'll add docs for that.

Exactly. I think most users would expect fully transparent pixels to not be hittable. Might be something where the backend/component specifies a threshold, so any alpha below that value will be ignored. Doesn't need to be added right now, but would be nice to mention in the plugin docs.

Originally posted by @aevyrie in https://github.com/bevyengine/bevy/issues/14757#issuecomment-2297442070
We can either add a whole new backend for this, or add a configuration option to the existing backend. Checking the alpha value of each pixel is more expensive but more intuitive and should be enabled by default with a way to toggle it off.

Correct me if I'm wrong but I think one use case for this is when you have rounded button images/sprites. For those, at least in my case, I don't want to trigger the interaction on the transparent pixels, i.e. only trigger interactions on clicks inside the round parts of the image. In that case, I'd agree I expected this behavior by default.
This issue is for the sprite picking backend, but is there any overlap with doing this for existing bevy UI buttons with images? I have some UI buttons with a UiImage as its child, and I've wanted a way to avoid triggering interactions when clicking on the non-rounded parts. The sprite picking backend operates on Sprites only, so I don't expect this new picking backend to work for UiImages. It's fine if the answer is "that's a new issue", but I did wonder if they were somehow covered by the same approach.

For the case of rounded buttons specifically, we should be able to do a faster test. I agree that that should be on by default though. But yes, new issue please! It should be fixed in its own PR.

              > Not sure what you mean by "test against alpha". Could you elaborate? EDIT - By that, do you mean whether or not the sprite is visible due to alpha/invisible texels? I'll add docs for that.

Exactly. I think most users would expect fully transparent pixels to not be hittable. Might be something where the backend/component specifies a threshold, so any alpha below that value will be ignored. Doesn't need to be added right now, but would be nice to mention in the plugin docs.

Originally posted by @aevyrie in #14757 (comment)
We can either add a whole new backend for this, or add a configuration option to the existing backend. Checking the alpha value of each pixel is more expensive but more intuitive and should be enabled by default with a way to toggle it off.

Seconding this, it'd be very useful in the project I'm working on right now