Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maddyboo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
maddyboo
5y ago
Also interesting: the new OCaml website is built with ReScript, the rebranding of ReasonML.
32.
▲
by
maddyboo
5y ago
It’s an enjoyable part of the day and a fun skill to practice. Snobbery exists, but I think most people are just excited about the subject and perhaps overly eager to share their learnings. To some it seems snobbish, but from the coffee lov
33.
▲
by
maddyboo
5y ago
I love reader mode but I don’t use it when reading technical content because it lacks syntax highlighting. I’ve also often encountered bugs where certain graphics that are core the the article won’t be shown and I will be confused until I t
34.
▲
by
maddyboo
5y ago
But it can handle it with a very small bit of configuration, as I’ve shown above. I am not trying to defend vim here, the editor you use or prefer has no effect on me. I’m just trying to point out that if you want it to work in a certain wa
35.
▲
by
maddyboo
5y ago
Forgive me for misunderstanding the ambiguous comment, both C-k and C-u are associated with multiple cursors in VSCode [0] ;) I use the following mappings for emacs-ish editing in insert mode: " emacs-style editing & motion
36.
▲
by
maddyboo
5y ago
I think you're referring to multiple cursors? Visual-Multi [0] is an amazing Vim plugin for this with advanced features like searching by regex, alignment by regex, transposition, duplication, auto-numbering, and more. You can ignore t
37.
▲
by
maddyboo
5y ago
I don’t have data or evidence to back this up, but my hunch is that vaccinated people are less likely to take precautions and more likely engage in the “riskiest” (for others) behaviors like attending packed indoor gatherings. That’s why I
38.
▲
by
maddyboo
5y ago
Yes I think the IIFE is there to avoid the inner loop blocking the outer loop. I think it looks better with the IIFE factored out into its own function: async function serve(conn) { for await (const { respondWith } of Deno.serv
39.
▲
by
maddyboo
5y ago
Node’s child_process.exec() [0] passes the first argument straight into a shell, so you can use whatever shell features you want. The functionality you’re talking about is provided by child_process.spawn() [1] (as long as the shell option i
40.
▲
by
maddyboo
5y ago
Yes, I knew someone would say this. But in the context of putting together a 60 item grocery order in 30 minutes, it’s easy to miss some data points. I would imagine a large number of people would be occasionally misled by things like this
41.
▲
by
maddyboo
5y ago
I've been shopping on Instacart a lot during the pandemic and I've noticed a related phenomenon: packaging designed to make products look bigger than they really are, especially in online photos. It's not necessarily a new th
42.
▲
by
maddyboo
5y ago
Bing powers other search engines like DuckDuckGo, Ecosia, and Yahoo!. But I’m sure that even cumulatively the numbers are still small.
43.
▲
by
maddyboo
5y ago
https://en.wikipedia.org/wiki/Corporate_Memphis
44.
▲
by
maddyboo
5y ago
If you write your tests with Ginkgo [0] its CLI can do this for you. It also has nice facilities to quickly disable a test or portion of a test by prepending an X to the test function name, or to focus a test (only run that test) by prepend
45.
▲
by
maddyboo
5y ago
I just got Rickrolled by a Rickroll?
46.
▲
by
maddyboo
5y ago
I find my cast irons to be much lower maintenance than any other pan I’ve had. Cleaning is super easy, they are super durable and I’ve scrubbed them super hard with a bit of soap when necessary and the seasoning is still perfect.
47.
▲
by
maddyboo
5y ago
You know what would be fun? A website like Project Euler, but you're given programs that are less than optimally efficient and your job is to make them as fast as possible.
48.
▲
by
maddyboo
5y ago
Tough choice. We could fill our foods with tasteless indigestible plastic so that we can gorge ourselves on processed foods and not get fat, or we could eat a healthy diet. I’m split.
49.
▲
by
maddyboo
5y ago
I’ve had to do this before to avoid my rent going up several hundred dollars at lease renewal time. They offered me the unit right next door for $500 less than what my then-current unit would cost. The new one was identical in all ways exce
50.
▲
by
maddyboo
5y ago
What’s stopping them from “asking” $500/sqft? $1000? At what point is it fraud?
51.
▲
by
maddyboo
5y ago
To clarify: it was not a personal gift, I received it when I signed up for internet service in a new apartment.
52.
▲
by
maddyboo
5y ago
I received one as a gift too. Used it for about a week, got tired of it and creeped. So I pried it open, used a flathead screwdriver + hammer to chisel/smash any chips that looked interesting, and recycled it with some other e-waste. I
53.
▲
by
maddyboo
5y ago
> I also think % body fat would be a better measure of obesity than BMI. The author mentioned why they list BMI rather than body fat percentage in part 1: > (Most experts consider measures like body fat percentage to be better measure
54.
▲
by
maddyboo
5y ago
Could this be a factor in why we didn’t evolve to see a wider range of wavelengths? Is the visual spectrum just barely within the range that our brains can correct for the diverging focal lengths without needing additional lenses or modific
55.
▲
by
maddyboo
5y ago
If you want some interactivity (bash): read -rp "SSID: " ssid read -rsp "Password: " pass echo -e "\n" qrencode -t utf8 "WIFI:T:WPA;S:$ssid;P:$pass;;" echo "SSID: $ssid"
56.
▲
by
maddyboo
5y ago
I am. The terminal is one of the few places I am not being tracked. It’s also a portal into my most private data and activity, so if there’s one place I don’t want to be tracked, it’s here. I do not long for a future where the terminal ecos
57.
▲
by
maddyboo
5y ago
A cool thing about = is it expands to the full path of the executable, so I often use it to edit the shell scripts that are in my PATH, e.g. vim =audioctl Expands to vim /home/myusername/bin/audioctl
58.
▲
by
maddyboo
5y ago
Here’s a YouTube link: https://youtu.be/1HUUTzGDGVA
59.
▲
by
maddyboo
5y ago
which-key.nvim too, plus more features. Really useful for remembering/learning new plugin mappings. https://github.com/folke/which-key.nvim
60.
▲
by
maddyboo
5y ago
Oh, just realized I misread the original comment. I ignored the “, so I thought they were saying you could just use 0p (on my phone, otherwise would’ve tested it in vim). I use registers often but I admit I haven’t memorized the meaning of
More ›