Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
RReverser
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
RReverser
1y ago
Because one is annual, and the other is just total. The equivalent of GDP for corporations would be annual revenue.
2.
▲
by
RReverser
2y ago
JS has proper async stacktraces as well, or do you mean something else?
3.
▲
by
RReverser
3y ago
Hm what's the difference then?
4.
▲
Libusb 1.0.27-rc1 is out – first RC with WebAssembly and WebUSB support
(github.com)
1 points
by
RReverser
3y ago
|
0 comments
5.
▲
by
RReverser
3y ago
Great work! Strangely, I thought I remember being able to use breakpoints on https://cloudflareworkers.com/ - I thought it handled inspector messages in a nested loop until receiving debugger resume command - since the begi
6.
▲
Cross-platform Rust library for the ASCOM Alpaca API for astronomy devices
(github.com)
2 points
by
RReverser
3y ago
|
0 comments
7.
▲
by
RReverser
3y ago
> What prevents developing a wrapper or shim that runs any wasm as if it were any other native executable? That definitely exists and is used on server-side - Wasmtime, Wasmer and others.
8.
▲
by
RReverser
3y ago
Thanks, be sure to check out the part 2 as well :)
9.
▲
by
RReverser
3y ago
Don't know about webcams - usually (unlike in OP's case) those already have good OS-level support, but I did port gphoto2 to Wasm+WebUSB for access to DSLRs & mirrorless cameras: https://github.com/GoogleChro
10.
▲
by
RReverser
3y ago
Browser ports can't integrate at OS level, they're intentionally separated today, but given that e.g. Node.js has WebUSB support ( https://github.com/node-usb/node-usb ), I guess you could make a layer that exp
11.
▲
by
RReverser
3y ago
Chromebook is probably the perfect target for those kinds of ports. Definitely worth giving a try, hopefully SANE supports it.
12.
▲
WebAssembly+WebUSB port of the SANE scanner library
(github.com)
101 points
by
RReverser
3y ago
|
26 comments
13.
▲
by
RReverser
4y ago
Thank you!
14.
▲
Show HN: Web Bluetooth remote for Canon cameras
(github.com)
5 points
by
RReverser
4y ago
|
2 comments
15.
▲
libusb now has an experimental WebAssembly + WebUSB backend
(github.com)
3 points
by
RReverser
4y ago
|
0 comments
16.
▲
by
RReverser
5y ago
That's been already blocked by Google, with reviews deleted, so not much I guess.
17.
▲
by
RReverser
5y ago
> Not to mention that I have almost no clue how to debug a WASM build. I've got you covered: https://developer.chrome.com/blog/wasm-debugging-2020/ (TL;DR use Chrome DevTools with the official DWARF integr
18.
▲
by
RReverser
5y ago
Or it could apply gzip/brotli + optionally wasm-opt and cut the size ~5-6x: https://twitter.com/RReverser/status/1494435774003093515
19.
▲
by
RReverser
5y ago
The sad part is, it could be cut very easily cut down to ~60MB with basic optimization & compression (heck, even gzip/brotli compression alone would go a long way): https://twitter.com/RReverser/status/149
20.
▲
by
RReverser
5y ago
Part 2 is out: https://news.ycombinator.com/item?id=30165184
21.
▲
Porting USB applications to the web. Part 2: gPhoto2
(web.dev)
3 points
by
RReverser
5y ago
|
0 comments
22.
▲
by
RReverser
5y ago
Ah, I see. That would be interesting, but removes the cross-platform compatibility from the equation, which, for me, is the most valuable piece of WebUSB and other similar APIs.
23.
▲
by
RReverser
5y ago
Glad to hear! If you want to give it another try, you should be able to use my linked libusb fork in any app that depends on libusb, and compile that with Emscripten.
24.
▲
by
RReverser
5y ago
I didn't see it but did think about it. I think it should be possible by wrapping WebUSB into something like Comlink, e.g. I know Surma experimented with allowing Comlink to be used with WebSockets: https://twitter.com/
25.
▲
by
RReverser
5y ago
With guiding you're usually aiming for 5-10 minute exposures per frame. That usually results in each frame having at least several streaks. Sure, those are technically still short and can be cancelled out, but astrophotography is alrea
26.
▲
by
RReverser
5y ago
One is looking at it, another is polluting it and precluding others from looking at it. Surely you see the difference?
27.
▲
by
RReverser
5y ago
For pure visual observation you might be right, but any sort of amateur astrophotography is already significantly affected and is only going to get worse because 1) it's usually more wide-field than in professional observatories, which
28.
▲
by
RReverser
5y ago
Yeah, like every start-up clearly did before them (example: Uber). /s
29.
▲
by
RReverser
5y ago
> It’s possible someone could come up with something like that for WebUSB, something that constrains it to something safe. That sounds like WebSerial and WebHID to me, which don't require similar shenanigans with Zadig on Windows or
30.
▲
by
RReverser
5y ago
> Limiting it to installed apps still has the problem of users blindly agreeing to something that is fundamentally super dangerous. Same can be said about native apps. Like with other hazards, in the end it's all about balance - you
More ›