back
user profile
porridgeraisin
1,976karma·1,374submissions·March 26, 2023
recent activity (1,374 total)
comment
They meant logging-logs in the code itself: log.Debugf("Foo is: %#v", ...)
//You think: this is probably filtering code
log.Debugf("Foo without X is: %#v", ...)
comment
Can you explain how you used dd here? Ive never seen it used this way, curious
comment
You can maybe try to get just to use bun shell [1]. It's a cross platform shell with sh like syntax (still in dev and doesn't support everything [2]) [1] https://bun.sh/docs&…
comment
You can't be serious. That approach has so many downsides you can't list them in a hackernews comment. For example, icons will not be scaled in your method. So any app like audacity where to…
comment
If a framework claims to solve a human resources problem, than then turns to be ridiculously susceptible to human resources misusing it, then that framework is not of much use is it.
comment
Crab powered computer: http://phys.org/news/2012-04-scientists-crab-powered.html Yes, real crabs…
comment
Yeah, here in India people love choosing leetcode hards for when they come to a college and everyone in the college applies to them. Considering how big colleges are here, they just care about the fil…
comment
Just do hincrby alone, if it doesn't exist it will automatically become 1
comment
Just found out this is a fork of heynote! Was looking for one of these with web support
comment
Heynote is similar
comment
You can use https://npmjs.com/e2ee.js (disclaimer: I am the author) for basic end to end encryption in the browser (uses the webcrypto api). It supports encrypting and decrypting a we…
comment
Been using this for a long while, i love it
comment
I use heynote.com just like this
comment
Used ollama as part of a bash pipeline for a tiny throwaway app. It blocks until there is something on the mic, then sends the wav to whisper.cpp, which then sends it to llama which picks out a struct…
comment
Just when rhythm got banned in discord few years ago, I made a discord bot that did something similar. I supported various sources of playlists/urls, and I'll then go get the metadata from t…
comment
This is how UPI-based subscriptions work in India. You open your UPI app, go to the autopay section, and see all your subscriptions, whether it is one-time mandates or as-presented recurring ones. You…
comment
The real culprit is coming up with a bunch of metrics that fail to model the actual performance of people. It instead incentivises going after the metrics. The type of orgs likely to metric-ify just h…
comment
How did this get past the check?
comment
You win
comment
Most languages implement sets using maps. The only major difference you can optimise for is the fact that in majority usage, keys in maps are likely to exist, whereas sets are used for membership chec…
comment
Terraform i assume
comment
1. pwas
2. Filesystem and other APIs for extensions.
comment
Photopea, it's a web based photo editor that is really really great. If you install it as a PWA, it works offline. Similarly, excalidraw, monkeytype, google calendar all work offline if you insta…
comment
India is one country where that is the norm.
comment
Nand2tetris is absolutely great, I cannot recommend it enough.
comment
Alright now, let's restore some order to this thread.
comment
For now, go to devtools and save a chrome snippet with document.querySelector(.cm-scroller).style.fontFamily = "whatever"; hit save. Then everytime you open, Ctrl+shift+i, Ctrl+o, enter, Ctr…
comment
> At the moment, I'm leaning towards keeping the number of configurable settings down and not add have font color theme settings. Alright, if you ever lean the other way a tad bit, please allo…
comment
Cannot recommend it enough.
comment
Adding to it: Saw you mentioned below that you were planning to add a pwa + local storage version. In that case you can disregard my mobile request, and replace it with a download button on mobile so …