Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
daakus
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
daakus
11mo ago
A quick check with release build on macOS shows the component demo has a non-zero energy impact in the background (per activity monitor), but the input example has zero energy impact while in the background. This is already better than many
2.
▲
by
daakus
1y ago
It relies on `pw-record` for recording audio and `ydotool` for triggering keyboard input. These are Linux specific. I don't know about Windows, but on my Mac I have a not-yet-public Swift + whisper + CoreAudio + Accessibility based sol
3.
▲
by
daakus
1y ago
Just for fun. I like both languages. I thought Rust would be better fit on account of interop with whisper.cpp, but turns out the use of cgo was straight forward in this case. I like that the Go version has minimal 3rd party dependencies co
4.
▲
by
daakus
1y ago
Shameless plug: A brutally minimalist Linux only, whisper.cpp only app: https://github.com/daaku/whispy I wanted speech-to-text in arbitrary applications on my Linux laptop, and I realized that loading the model was on
5.
▲
by
daakus
1y ago
Mostly using Wipr 2. Brave works very well but Safari seemed maybe slightly snappier (I know the browser engine is the same). Tried this but seems like it blocked less than Wipr 2 in a quick spot check.
6.
▲
by
daakus
3y ago
I used the prompt included in llama.cpp and it worked for me in English (for fun GK type questions): MODEL=./models/mistral-7b-v0.1.Q5_K_M.gguf N_THREAD=16 ./examples/chat-13B.sh
7.
▲
by
daakus
3y ago
I used mistral-7b-v0.1.Q5_K_M.gguf and it responded to basic questions.
8.
▲
by
daakus
3y ago
It can! TheBloke is to thank for the incredibly quick turnaround. https://github.com/ggerganov/llama.cpp/pull/3362 https://huggingface.co/TheBloke/Mistral-7B-v0.1-GGUF/tree/ma..
9.
▲
by
daakus
4y ago
Ah, I remember seeing this a long time ago. It seemed like something CL fans would enjoy, but to me it felt verbose. I guess this is my Clojure preference showing. Regarding runtime macro-expansion - since Dak is written in JavaScript, it c
10.
▲
by
daakus
4y ago
Nice! My goal in Dak is to reach a point where macros can allow transforming hiccup like syntax to hyperapp or React like function calls, or original hiccup style optimized string concat, or lit-html style template string generation. I know
11.
▲
by
daakus
4y ago
Thanks! My fear taking this path is around performance. I've not done any profiling yet, and I'm hoping I don't regret taking this path when I get around to it.
12.
▲
by
daakus
4y ago
I'm a huge fan of Clojure and have had a lot of fun building things with it. CLJS on the other hand has felt heavy to me, from a browser performance and dev tooling perspective. Clojure startup time always affected me more so with CLJS
13.
▲
by
daakus
4y ago
Thanks for the feedback. I'll add some notes comparing it with other attempts like you suggested.
14.
▲
Show HN: Dak – a Lisp-like language that transpiles to JavaScript
(daklang.com)
94 points
by
daakus
4y ago
|
22 comments
15.
▲
by
daakus
5y ago
Correct and fair. Updated the code to remove the safety issue.
16.
▲
by
daakus
5y ago
The bytes are assumed to be utf8 (I was using the safer `from_utf8` prior to confirming the data was utf8). I brought in `twoway` when I couldn't find a way to `rfind` using `aho-corasick`. I'll switch the use over for consistency
17.
▲
by
daakus
5y ago
Safety for me is confidence to use the thing. For me in my own code, but also others on my team that may work on this code. I mostly have experience building things in GC languages. But with Rust I managed to safely use [1]: - stack referen
18.
▲
by
daakus
6y ago
If the default is set to something else, say DuckDuckGo, it'll go there instead right?
19.
▲
by
daakus
6y ago
Would be great to understand what communication with Google servers can be turned off via setting changes rather than code changes, and what cannot.
20.
▲
by
daakus
8y ago
Anyone have experience with making this work? I tried starting it on the server I have WireGuard running on and it fails to start because it also wants to bind to the UDP port WireGuard uses (even in server mode). Additionally http:/&
21.
▲
by
daakus
11y ago
One aspect is that upgrading Go only requires upgrading it on the build infrastructure rather than a deployment of a new JVM. The "next build" will simply be a binary built with a new compiler version.
22.
▲
by
daakus
11y ago
GitHub pages + Cloudflare.
23.
▲
by
daakus
11y ago
Largely it just means that it uses the `LISTEN_FDS` environment variable and passes the sockets down starting at fd=3 (more here: https://github.com/facebookgo/grace/blob/master/gracenet/net... ). Ad
24.
▲
by
daakus
11y ago
It doesn't find dependencies like /etc/ssl/certs/ca-certificates.crt or /usr/share/zoneinfo.
25.
▲
by
daakus
13y ago
What does "via Ruby" mean here? Title should probably not include that.
26.
▲
Oh, My Hand: How Famous Words Originated, According to the Oxford Dictionary
(brainpickings.org)
1 points
by
daakus
13y ago
|
0 comments
27.
▲
by
daakus
13y ago
fwiw, i had a similar experience as well. i tried prgmr too, and linode was just much better and more consistent than all the others.
28.
▲
by
daakus
13y ago
You can get an extra IP for $1/month to solve the SSL problem (or alternatively look at something like Cloudflare).
29.
▲
by
daakus
13y ago
I built something similar which additionally provides graceful termination of established connections as well as systemd socket activation to (optionally) provide lazy startup of servers: https://github.com/daaku/go.grace
30.
▲
by
daakus
14y ago
I hope this doesn't kill the current best UX that hides the junk in this industry.
More ›