News for hackers. Stuff that matters.
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by vshymanskyy on Sunday June 30, 2024 @10:51AM (#40837463)
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by 8mobile on Monday July 01, 2024 @12:41AM (#40842580)
Hi, congratulations on ViperIDE, did you create it yourself? The interface is great, as an editor it lacks basic functionality. But as a starting step it is great. Bravo
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by vshymanskyy on Monday July 01, 2024 @02:05AM (#40842994)
Yes this is my side-project. The core of the UI was created by ChatGPT and then polished :) Which basic features are missing from the editor?
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by camdenreslink on Monday July 01, 2024 @08:43PM (#40852447)
I’m curious what basic functionality you think is missing?
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by metadat on Monday July 01, 2024 @10:07PM (#40852907)
If the README included the tl;dr installation instructions, I'd be trying this out already.
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by vshymanskyy on Tuesday July 02, 2024 @02:00AM (#40853908)
You don't need to build it, it's hosted on https://viper-ide.org Also, this is Vanilla JS, so just opening the HTML file locally also works :)

P.S. I just realized I'm using the older CodeMirror 5 component for the editor. Migrating to CM6 will require the use of bundler.

The good news on the othe hand, the editor will get much better.

Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by lukan on Tuesday July 02, 2024 @03:39AM (#40854382)
I have the same issue and also did not yet migrated, but there is another HN user who made Codemirror 6 easy again with a simple tag:

https://news.ycombinator.com/item?id=39811842

(I have not tested it myself yet)

Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by vshymanskyy on Tuesday July 02, 2024 @07:14AM (#40855479)
Looks like the migration to CodeMirror 6 is complete!

Check out the new look and feel: https://viper-ide.org/

Needs more polishing though...

Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by ferfumarma on Monday July 01, 2024 @10:35PM (#40853058)
This is incredibly cool! Nice work!
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by mk_stjames on Tuesday July 02, 2024 @12:04AM (#40853459)
It's hosted here: https://viper-ide.org/

I'm actually using it, right now, already. I happened to have a RP2040 board right here I was just writing some micropython for.

I think this is a good way to quick-start with the boards moreso than using the Thonny IDE. It handles the filesystem access perfectly.

Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by vshymanskyy on Tuesday July 02, 2024 @03:09AM (#40854233)
LMK if anything doesn't work or can be improved. File uploading / downloading is planned further down the road.
[dead]
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by DaSHacka on Tuesday July 02, 2024 @02:53AM (#40854150)
Is this account a GPT bot?

I don't see what this matter-of-fact objective summary of the github page adds to the discussion, and why a human would ever feel the need to leave such a comment.

Post/comment history is full of suspiciously GPT-like articulation too.

Curious what the end goal is.

Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by nicoco on Tuesday July 02, 2024 @03:04AM (#40854215)
Karma farming to sell account for astroturfing or marketing maybe?
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by vshymanskyy on Tuesday July 02, 2024 @03:01AM (#40854203)
Yes, 100%. Besides, the feature analysis was not entirely correct.
Re:Show HN: ViperIDE – An Innovative MicroPython IDE for Web... by esprehn on Tuesday July 02, 2024 @11:14AM (#40857447)
This is super cool, and I love the old school tech stack. It makes for a very approachable codebase and a fast user experience.

As a reminder given the recent polyfill io attack, don't use public CDN hosted JS without also setting SRI attributes [1]. It's a marginal perf benefit because the cache is partitioned by top level domains now and it opens you up to attacks from the CDN owners.

https://github.com/vshymanskyy/ViperIDE/issues/14

As a bonus set CSP headers and a nonce when you can too, but definitely set SRI on any 3p scripts.

[1]: https://developer.mozilla.org/en-US/docs/Web/Security/Subres...