HackerTrans
TopNewTrendsCommentsPastAskShowJobs

artpar

no profile record

Submissions

Show HN: TypeScript/JavaScript as interactive isometric circuit board

artpar.github.io
1 points·by artpar·há 11 dias·0 comments

Show HN: ATM, a tiny terminal task manager for local coding agents

2 points·by artpar·há 2 meses·0 comments

Show HN: JSLike, a CSP-Safe Interpreter for JS, TS, JSX, TSX in JS

github.com
6 points·by artpar·há 2 meses·2 comments

Show HN: Canopy – A2UI experiment in Go for macOS/AppKit

2 points·by artpar·há 3 meses·1 comments

Show HN: Tt – P2P terminal sharing over WebRTC

13 points·by artpar·há 6 meses·2 comments

[untitled]

1 points·by artpar·há 6 meses·0 comments

Show HN: Long Term Planner MCP

github.com
3 points·by artpar·há 6 meses·0 comments

Show HN: Simple Tools for Recruiters

reliablerecruiter.space
1 points·by artpar·há 8 meses·0 comments

comments

artpar
·há 18 dias·discuss
The key takeaway pretty much applies to the authoring of the article itself. The LLM knew what all happened but couldn't put it into a readable article.
artpar
·há 2 meses·discuss
it is a javascript interpreter in javascript, based on the ast generated by acron parser. to avoid calling "eval" or "new Function" for code executed by un-trusted sources. a sandbox
artpar
·há 3 meses·discuss
screenshots in the github readme https://github.com/artpar/canopy
artpar
·há 5 meses·discuss
Here is an implementation you might like

https://github.com/artpar/terminal-tunnel

P2P with webrtc (pion ftw) with e2ee

client side is webui so you can use on any device

ps: the default Cloudflare Worker from my account is already maxed out so you will need your own exchange (self host on your account)
artpar
·há 5 meses·discuss
I tried that over a month

except '- the directness and simplicity of JavaScript'

https://github.com/artpar/guage

But somehow the language feels so foreign. it can obviously do hello world, but I don't have a real use case

PS: the "Pure symbols only" is no longer true, most symbols have been converted to English names

and, the "days" you see there in the markdowns are "claude code sessions", not actual days
artpar
·há 6 meses·discuss
I did show hn just yesterday you don't need tailscale or any 3rd party server. Just use webrtc and it's just your mobile and laptop. end 2 end encrypted. no 3rd party dependency.

https://news.ycombinator.com/item?id=46514587
artpar
·há 6 meses·discuss
Thanks! And wow, getting a kind word from a Pion maintainer means a lot. Your library made this whole thing possible. The datachannel API is incredibly clean to work with. Appreciate you and the team's work on it.
artpar
·há 8 meses·discuss
I wrote two

jslike (acorn based parser)

https://github.com/artpar/jslike

https://www.npmjs.com/package/jslike

wang-lang ( i couldn't get ASI to work like javascript in this nearley based grammar )

https://www.npmjs.com/package/wang-lang

https://artpar.github.io/wang/playground.html

https://github.com/artpar/wang
artpar
·há 8 meses·discuss
I am actually going to use this instead of the one I created ( I could never get to correct ASI handling in that grammar)
artpar
·há 8 meses·discuss
This is exactly what I wanted and couldn't find. Ended up creating along with an interpreter (so slightly easier then walk and execute)
artpar
·há 8 meses·discuss
I want to execute dynamically generated javascript looking code in chrome extension without using eval or new function. basically eval without actually using eval.

linter would help me find and avoid usages of eval.
artpar
·há 8 meses·discuss
csp safe has a particular meaning associated it with. its not a "safe" language whatever that is. chrome webstore team is okay with it and serves my purpose. if you have submitted extensions to google chrome then you would know that any sign of "eval" or new Function in the code will lead to rejection.
artpar
·há 8 meses·discuss
I made a language for using in another project, so I'll answer your questions

https://www.npmjs.com/package/wang-lang

- this new language looks and behaves exactly like javascript, except it doesnt have "eval" and "new Function", so it is CSP safe. That's the only difference. I wanted to execute dynamically generated code in chrome extension

- llm did most of the work of creating a nearley grammar and associated interpreter (whole thing is bundled, nearley is not a final dependency), elaborate tests make this quite sane to handle

- took me about total of 1 weeks for the initial mvp to try out, and then have been fixing bugs and inconsistencies with javascript behavior, about 1 day a month of effort

- mostly 0

The only reason to create was I couldnt find something similar and it was low effort thanks to llm

I also created another even smaller DSL you can say

https://www.npmjs.com/package/free-text-json-parser

It parses json embedded in plain text
artpar
·há 8 meses·discuss
100x.bot primarily a browser automation engine (think imacros ) but with llm and all the tools for interacting with the Dom and a better interface . there is a workflow builder so you do not need to rely on llm for executing deterministic workflows.
artpar
·há 8 meses·discuss
I did not know gstreamer wasm also exists, I'll check it out
artpar
·há 8 meses·discuss
I think that goes with almost every tool you want to use with llm. User should already know the tool ideally so mistakes by llm can be prevented before they happen.

Here making ffmpeg as "just another capability" allows it to be stitched together in workflows
artpar
·há 9 meses·discuss
I am sorry I think you might have installed the our workflow plugin(close ended agent) instead of agent4 (open ended). Its a new experiment we are working. We are working on the website messaging.

Agent4 - https://chromewebstore.google.com/detail/agent4/kipkglfnhnpb...

Old workflow plugin - https://chromewebstore.google.com/detail/100xbot/dhcenlmiiom...
artpar
·há 9 meses·discuss
No it is not open-source. But it is not obfuscated either, so you can always look into the code by downloading the plugin from chrome webstore if (and these days llms can help with that a lot) if you are into that kind of verification.
artpar
·há 9 meses·discuss
That's exactly what is it doing. The workflows are pretty much js snippets in itself you can see in the "code" tab (in the plugin when you select a saved workflow).
artpar
·há 9 meses·discuss
Yeah like so many legacy things, unfortunately they are not going away that fast. People are still clicking on these tedious interfaces day in day out to get all the "smaller" stuff running. Even if every one agreed on the "One Best UI", it would take decades to convert all the existing ones before breaking a lot of flows.