FossPrime
Repos
131
Followers
25
Following
46

The API and real-time application framework

14324
664

Next generation frontend tooling. It's fast!

52180
4443

New StackBlitz docs site built with VitePress

12
19

Feathers 🕊️ starter demo sandbox

Events

Created at 5 days ago
issue comment
Can't configure Logitech MX Anywhere 2

After suffering through fixing a broken VirtualBox, using proprietary USB plugins and booting up a windows vm with the Unifying receiver after the bluetooth passthrough failed... turns out this mouse doesn't support Macros... just single key binds.

Are you sure about that? It works for my 2S (when setting it up with Logitech Options). The original 2 could of course be different.

The 2S macros on Windows are emulated in software by the Logitech service in windows, it's not built in like the MX Master. That means when using another windows machine, Linux, chromeos or using certain software, the macros and combo keys won't work.

Created at 5 days ago
Components silently die after runtime errors

Minimal repro: https://stackblitz.com/edit/bug-runtime-throw-test-vite?file=src%2FApp.vue%3AL13 Repro with ./playground: https://stackblitz.com/edit/github-dzf4en?file=playground%2Ftest-component%2FTestComponent.vue%3AL18

This component silently fails if any function inside throws. In Vue 3, the component correctly delivers errors to the console and vite.

But in Vue 2, Vite runs as if there is nothing wrong, performing HMR updates and silently dropping components without warning devs about runtime errors.

Created at 3 weeks ago
issue comment
Components silently die after runtime errors

https://chrome.google.com/webstore/detail/chrome-js-error-icon/mnjomdibnloobkbgdaaplldfihfhpnbm

Created at 3 weeks ago
issue comment
Components silently die after runtime errors

This was caused by a Chrome extension https://chrome.google.com/webstore/detail/chrome-js-error-icon/mnjomdibnloobkbgdaaplldfihfhpnbm

Created at 3 weeks ago
opened issue
Cannot find Chromium in NixOS

Describe the bug The export command doesn't find Chromium, so we must manually specify it. It cannot be specified in notes or build, which causes download: true to break builds or NixOS deployments.

Replit reproduction on NixOS 22.05

# This works
slidev export --executable-path `which chromium`

# This don't work with download = true
slidev export
slidev build
slidev export-notes

To Reproduce Steps to reproduce the behavior:

  1. Use NixOS or Replit
  2. Run export or build or notes

Desktop (please complete the following information):

  • OS: NixOS and Replit
  • Browser: Chrome
  • Slidev version: 0.38
Created at 3 weeks ago
issue comment
Toc rendering is broken in Firefox

@kolaente How did you get playwright to work on NixOS? I can't get it running on Replit's NixOS 22.05 or on my Laptop's baremetal NixOS 22.11

Created at 3 weeks ago
issue comment
[BUG] Can't run Playwright in Nix
playwright.browsers

I have 22.11 with playwright installed through config... that may work for python, but packages that depend on playwright like Node Slidev still don't work and you'll get the dreaded message:

Host system is missing dependencies to run browsers. ║
║ Missing libraries:                                   ║
║     libgobject-2.0.so.0                              ║
║     libglib-2.0.so.0                                 ║
║     libnss3.so                                       ║
║     libnssutil3.so                                   ║
║     libsmime3.so                                     ║
║     libnspr4.so                                      ║
║     libatk-1.0.so.0                                  ║
║     libatk-bridge-2.0.so.0                           ║
║     libcups.so.2                                     ║
║     libgio-2.0.so.0                                  ║
║     libdrm.so.2                                      ║
║     libdbus-1.so.3                                   ║
║     libatspi.so.0                                    ║
║     libX11.so.6                                      ║
║     libXcomposite.so.1                               ║
║     libXdamage.so.1                                  ║
║     libXext.so.6                                     ║
║     libXfixes.so.3                                   ║
║     libXrandr.so.2                                   ║
║     libgbm.so.1                                      ║
║     libexpat.so.1                                    ║
║     libxcb.so.1                                      ║
║     libxkbcommon.so.0                                ║
║     libpango-1.0.so.0                                ║
║     libcairo.so.2                                    ║
║     libasound.so.2
Created at 3 weeks ago
issue comment
can not Installation on debian10

I also had this issue in Replit. The trick was to remove --open from the npm run dev script.

If xdg-open is not available it should not be called... this is definitely a bug.

  • Code https://replit.com/@fossprime/slidev-xdg-open-bug#package.json
  • Live (free so it'll take a second to boot)
    • https://slidev-xdg-open-bug.fossprime.repl.co
Created at 3 weeks ago
issue comment
gnome3.gnome-disk-utility unable to find sgdisk

I'm facing the same thing on stable. Makes it impossible to properly format a USB stuck with Fat32! Also causes tons of errors when resizing and making partition images... very dangerous bug.

Created at 4 weeks ago
Broken github link on Homepage

Github link on homepage is broken.

Created at 1 month ago

Broken github link on Homepage

Created at 1 month ago

remove holiday stuff

Created at 1 month ago
issue comment
Import projects from GitLab & BitBucket

The git CLI approach above worked well for a single user. Unfortunately collaborators can't use private Github repos with Codeflow unless the repo is in a GH organization. A couple other things have changed as well, including a suspicious env var that hints at git CLI being available in StackBlitz classic, as well as git checkout origin/main working correctly.

More importantly, we now have decent git reset --hard origin/main support. Watch out for any git CLI commands that may change the .git/HEAD file to a git commit hash, rather than a branch head pointer like ref: refs/heads/main, SB's CLI doesn't support the hash format.

This means you can use stackblitz.com/~ combined with a global user Snippet for shell scripts, and clone/commit from any git server that supports login via access tokens, like Gitlab. The main downside right now is it's not fully automated and your secret access token will get printed in plain text for everyone to see, every time you commit.

Better credential management would be nice... there is a WASM SSH client that would be a god send if integrated into CodeFlow.

Created at 1 month ago
closed issue
Renaming files in WSL from vscode.dev is EXTREMELY slow

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.67.2
  • OS Version: Mozilla/5.0 (Windows NT 10.0; Win64; x64)

Steps to Reproduce:

  1. Open a folder in vscode.dev stored in a WSL folder, such as $HOME/test
  2. Create a file in that folder and rename it

Expected:

Rename should occur instantly

Actual

Rename takes a whole minute and causes sync issues where changes are not saved and notfound errors are generated.

Created at 1 month ago
issue comment
Renaming files in WSL from vscode.dev is EXTREMELY slow

Can you follow this wiki and post the results back here to understand more about why performance is so bad for you: https://github.com/Microsoft/vscode/wiki/Performance-Issues

Thanks!

I gave up on Windows partially because of my issues... So I can no longer reproduce.

Created at 1 month ago
Created at 2 months ago
Created at 2 months ago
issue comment
Hibernation resume fails when Nixos upgraded from 20.09 to 22.05

I had similar issue with an Asus UX8402ZA (The Nvidia-free model) on 22.11. Waking up to grub from sleep death takes over a minute. It looks like a bricked laptop as the main OLED screen is pitch black.

A doc entry on troubleshooting NixOS hibernation / SuspendThenSleep would be greatly appreciated. As the Arch documentation doesn't work well for NixOS bootloader, kernel Paramus and Initram configuration.

Created at 2 months ago
issue comment
HiDPI support in Steam

This issue is specially problematic in NixOS

Normally we could edit the .desktop file and call it a day. In NIxOS those are mounted read-only, so /run/current-system/sw/share/applications/steam.desktop cannot be modified or removed.

All the suggestions in https://github.com/ValveSoftware/steam-for-linux/issues/5460 will not work on steam OS.

Setting GDK_SCALE=2 globally makes some apps like Chrome, 4X size.

Created at 2 months ago
started
Created at 2 months ago
Created at 2 months ago
issue comment
pam_p11 broken in 22.11

This seems to be whats causing my 22.11-beta19 install on an Alder Lake 12700H (no gpu) to not boot into GDM.

This is a pretty heinous issue that should be tested for. The graphical installer doesn't install Vim, WPA_Supplicant or anything useful for figuring out what went wrong, despite having Vim and WPA Supplicant available on the installation media/calamares.

Created at 2 months ago
Created at 2 months ago
Created at 2 months ago
started
Created at 2 months ago
Created at 2 months ago
issue comment
Hyper-V Dynamic Memory `hv_balloon: Memory hot add failed`

I got this error while installing NixOS. Turns out I was impatient with disk destroyer. The time that it looked like it worked, it just made a file in /dev. Etcher and USBImager weren't available in the Debian/raspberry Pi store. Gparted lacked the flashing feature. gnome-disk-management was in the repositories, and did the trick.

Created at 2 months ago
issue comment
Add Collaborative Editing

Even if it could be one editor per file that would probably so much better than true live collaboration where everything is breaking and running at the same time and people are typing on top of each other.

Repl.it already solved this problem and it did not lead to what you're suggesting. I've talked to teachers who use this in class room settings and they live by it. It was a deal breaker for them that CodeFlow has no support for it.

Speaking of which, Repl.it and CodeSpaces clearly show auto saving to cloud storage is a better model than what CodeFlow has... specially as it has no export feature, specially as it crashes if you leave it running in the background overnight.

Created at 2 months ago