31 karma · joined Jan 30, 2020 (6y ago) · 14 submissions
https://github.com/fuzzc0re
1.
Show HN: P2Party – Encrypted WebRTC Room URLs(github.com ↗)
8 points · by fuzzc0re · 1y ago · 1 comment
comment 1y ago · link · parent
With 10% of battery I can code for 3 hours. If I compare the result of this activity with the 10% of battery wasted on a single question whose answer probably won't be completely correct, I consider the latter to be excessive, in relative terms, even if I take into account my time cost. Theoretically, if I would need to ask 100 questions to complete one task, I would need to recharge my computer 10 times. This is why I offload the burden of energy usage to a third party such as OpenAI.
BTW I don't drive if I don't have to either, which might make me more sensitive than you to this, comparatively low, energy usage diff.
comment 1y ago · link · parent
For a prompt to make the cut, I usually judge whether the task (or the documentation) is boring enough, time-consuming enough, yet precise enough for an llm to give me the solution. If something requires more than three-five prompts then I need to work on it myself and come back with smaller and more precise questions.
IMO, if the green energy industry wants to penetrate an important domain of modern life fast, the serving of open source models seems like a really low hanging fruit.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
*Edit: Another counterargument that generally applies to neural nets making decisions for human activities is the argument of accountability. While you can put on trial a bad politician for their harmful-to-society decision making, who is to blame when the neural net will inevitably spew the wrong output on an issue that it has not encountered before and a policy decision will be made based on that? Will we put the developers on trial?
comment 4y ago · link · parent
IMO the problem with most {something} democracy systems is that they are voting paradigms that focus either only or mostly on how decisions are made but not how the options to decide upon are formed. This is true for the systems that you mentioned as well.
Moreover, the fact that decision-making and policy authoring are operations that take time leads to citizens' beliefs updating during the processes and after the fact, but with "old-school" type representative democracies there is no real-time mechanism to synchronise policy suggestions and voting outcomes with the new states of information accumulation by voters. "High-tech" democracies should take advantage of the technologies that enable fast and cheap communication but they should also have mechanisms that disincentivise the spam that inevitably follows cheap talk.
Regarding AI policy making, there are very interesting projects such as https://pol.is which address a lot of the problems that I mentioned above but, in my opinion, their output should be used as advise only. We have not yet exhausted human-centric democratic systems and neural networks are still privately-owned and privately-trained black boxes.
comment 4y ago · link · parent
I started with clang targeting wasm32-unknown-unknown-wasm as my build system but this just did not work with malloc/free, unless I was targeting WASI, but if I targeted WASI I would not be able to run the module in the browser except with a polyfill that was hard to set up with C/TS stack. I ended up with emscripten because it was importing the module with all the right helper functions but there I was getting memory errors on debug mode but not in production. I needed to pass the Uint8Arrays from JS to WASM in a very specific way (with HEAP8), otherwise the pointers were not working properly, but I was not able to find this in the documentation. I only found out from a stackoverflow comment somewhere after two weeks of brain melting (why would Uint8Array(memory.buffer, offset, len).byteOffset not work?).
After I compiled the project successfully and the JS was giving the correct results, I decided to compile with -s SINGLE_FILE command in order to make the package as portable as possible, but this increased the size significantly because it translates the bytes into base64 that are then converted into WASM module from JS. A package manager of a compiled language that outputs cross-env JS that solves these problems automagically would be, IMO again, a game changer for the ecosystem. I believe this is what AssemblyScript tries to achieve but I honestly could not make it work for my project after experimenting with it for one or two days.
I get that a lot of the problems come from the incompatibility of browser and Nodejs APIs and different agendas from the various stakeholders, but I would very much like to see these differences be reconciled so that we can have a good developer experience for cross-platform WASM modules, which will lead to more high-performance components for JS, which is a programming language that affects so many people.
9.
Show HN: WASM/TS crypto library for Ed25519, Shamir sharing, AEAD secret boxes(github.com ↗)
2 points · by fuzzc0re · 4y ago · discuss
10.
Show HN: Electron Svelte TypeScript Boilerplate(github.com ↗)
2 points · by fuzzc0re · 5y ago · discuss
11.
Show HN: Node.js package to make interactions with Swift Cryptokit easier(github.com ↗)
1 points · by fuzzc0re · 6y ago · discuss
14.
Show HN: Header-only C library for arbitrarily deep neural nets(github.com ↗)
3 points · by fuzzc0re · 6y ago · 2 comments