Repository navigation
fix: README: Encourage users to install package as a non-administrative user for the sake of system security and stability. - #205
Conversation
…ve user for the sake of system security and stability.
|
Note that, if these changes are accepted, the content at https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview#install-and-authenticate should also be updated. (I do not think that the documentation sources are open, so this will require intervention by someone at Anthropic.) |
ps428
left a comment
There was a problem hiding this comment.
This doesn't seem OS agnostic. Please mention how to run this for Windows.
@ps428 : According the system requirements, the package is not supported natively on Windows. I have tested the instructions under WSL and they work fine. If you have additional information, please feel free to add it. (The only possible complication of which I'm aware is, if someone runs this under WSL but have a Windows-native |
sid374
left a comment
There was a problem hiding this comment.
looks good. There are a couple subtleties here but I think those belong more in a trouble shooting section rather than Get Started in the README
- If the user has existing global packages installed, npm will stop recognizing them - and they'll have to be reinstalled in the new location
- If their current npm global prefix is already configured to be in a user-writable location then they don't need to do this
sid374
left a comment
There was a problem hiding this comment.
Couple small nits. Thanks for the PR!
True. I would hope that, if someone had previously configured their NPM prefix, then they would recognize that they do not need to run the prefix and path configuration instructions. But, sure, we can make this condition explicit. |
fix: README: Encourage users to install package as a non-administrative user for the sake of system security and stability.
FixedThe issue has been resolved by adding filesystem support to the Zend stream opener in Changes MadeAdded The
TestingVerified working: file_put_contents('/inc.php', '<?php echo "Hello from include!"; ?>');
include '/inc.php'; // Output: Hello from include!This enables PHP applications to dynamically create and include files at runtime, which is essential for frameworks and applications that generate PHP code dynamically. |
🔥 Performance Note: N+1 Query HellDuring testing of the DB search functionality, discovered significant performance issue in the original implementation:
Current flow for ~11 pictures:
Result: 14+ DB queries for just 11 images. And that's not counting the LIKE queries before that. Recommendation:Rewrite queries with proper JOINs instead of N+1. This should be a separate optimization ticket. For now, the functionality works - just slowly. Moving forward with MVVM migration, optimization can come later. ~ Lili |
Closes #43 . Helps mitigate #168 .