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", ...)
1y ago·view thread
comment
Can you explain how you used dd here? Ive never seen it used this way, curious
1y ago·view thread
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&…
2y ago·view thread
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…
2y ago·view thread
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.
2y ago·view thread
comment
Crab powered computer: http://phys.org/news/2012-04-scientists-crab-powered.html Yes, real crabs…
2y ago·view thread
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…
2y ago·view thread
comment
Just do hincrby alone, if it doesn't exist it will automatically become 1
2y ago·view thread
comment
Just found out this is a fork of heynote! Was looking for one of these with web support
2y ago·view thread
comment
Heynote is similar
2y ago·view thread
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…
2y ago·view thread
comment
Been using this for a long while, i love it
2y ago·view thread
comment
I use heynote.com just like this
2y ago·view thread
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…
2y ago·view thread
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…
2y ago·view thread
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…
2y ago·view thread
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…
2y ago·view thread
comment
How did this get past the check?
2y ago·view thread
comment
You win
2y ago·view thread
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…
2y ago·view thread
comment
Terraform i assume
2y ago·view thread
comment
1. pwas 2. Filesystem and other APIs for extensions.
2y ago·view thread
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…
2y ago·view thread
comment
India is one country where that is the norm.
2y ago·view thread
comment
Nand2tetris is absolutely great, I cannot recommend it enough.
2y ago·view thread
comment
Alright now, let's restore some order to this thread.
2y ago·view 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…
2y ago·view thread
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…
2y ago·view thread
comment
Cannot recommend it enough.
2y ago·view thread
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 …
2y ago·view thread