Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zeroimpl
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
zeroimpl
3y ago
That looks awful, but presumably if you are using sass instead of css you could define a light-dark macro already which does exactly that. I wonder if custom functions might ever make their way to css.
62.
▲
by
zeroimpl
3y ago
By default if rsync sees any difference in metadata (timestamps), it just copies over the file fresh - first to a temporary file and then renames over the original. To do an in-place update you'd need to specify an arg for that. And ev
63.
▲
by
zeroimpl
3y ago
This option always seems funny to me. If I didn't trust the AES-NI instruction, why I would I trust the XOR instruction?
64.
▲
by
zeroimpl
3y ago
In contrast, Java would have a compile error so long as the variable was not declared final.
65.
▲
by
zeroimpl
3y ago
Deleting things never makes a sound. The word silently is added entirely for the connotation that it was meant to be secret. Since such an action would never go unnoticed, it's obvious that it wasn't meant to be secret, so that wo
66.
▲
by
zeroimpl
3y ago
I'm surprised they even had such a repo public in the first place. Every year Apple releases a new version of their Apple Developer Program License Agreement and Paid Applications agreement. I always download both as TXT files and diff
67.
▲
by
zeroimpl
3y ago
Yeah the latter. In an engine supporting ^ and $, searching for this (a|b|^)(c|d|^)foo is equivalent to searching for this ^((.*a|.*b)(c|d)|c|d)?foo.*$ And in this context you can drop the leading/trailing ^/$ si
68.
▲
by
zeroimpl
3y ago
Only when the ^ or $ were at the start/end of your string is it simple. Eg: (a|b|^)(c|d|^)foo Rewriting without ^ can require much longer regex.
69.
▲
by
zeroimpl
3y ago
I recently encountered a similar situation to this. My company uses O365, and I’ve got an application which sends emails to customers. The application just relies on postfix to relay through O365. Apparently we hadn’t added the public IP of
70.
▲
by
zeroimpl
3y ago
I'm not sure companies care much about support for "simple" tools like Terraform, at least the non-hosted version. Operating systems have lots of dark corners, but if your Terraform deployment isn't working then the prob
71.
▲
by
zeroimpl
3y ago
Interesting. I use fonts.com which apparently is also Monotype. The illusion of a competitive market.
72.
▲
by
zeroimpl
3y ago
Somewhat surprised the answer isn’t based on the angle to the North Star - that’s my preferred approach and it seems less explainable by a flat earth model under assumption the stars are further than the sun
73.
▲
by
zeroimpl
3y ago
Huh? If I put a lightbulb above something, the place it’s above won’t have shadows, but there will be shadows at places that aren’t directly underneath.
74.
▲
by
zeroimpl
3y ago
Related I’m surprised how slow my Mac is at rendering HEIF images compared to JPEG. Reviewing photographs transferred from my phone after a vacation is almost painfully slow. Seems like that format really requires hardware acceleration.
75.
▲
by
zeroimpl
3y ago
Great writeup. I had a similarly frustrating experience getting a minor but popular improvement submitted to VS Code (but at least it got accepted in the end!). They are both great products and I respect their development teams, but it’s ex
76.
▲
by
zeroimpl
3y ago
I’m more bothered by the missing article in the current title. Which star?
77.
▲
by
zeroimpl
3y ago
If your env file is a script that you source manually, I’d call it env.sh instead. Historically this has been my approach, but in production environments it’s convenient to have a static list of variables with no “export” instead since eg s
78.
▲
by
zeroimpl
3y ago
Yeah I don’t really understand why when I ssh into a VM in the cloud I have to first connect as a static dummy username like ec2-user then sudo to root.
79.
▲
by
zeroimpl
3y ago
Most websites use JS to tell the player what to do, so the JS decides what streams to play based on asking the browser what it supports.
80.
▲
by
zeroimpl
3y ago
Oddly I often navigate in a line by typing “f “ (f space) then press . repeatedly until I’ve gotten to the right place. Never occurred to me to navigate within a line using / but that ought to be faster most of the time
81.
▲
by
zeroimpl
3y ago
Precisely this. Most of my coworkers seem to use a prompt that just reports what branch you are on. I use a power line-based prompt that captures a lot more info, and so I virtually never end up in a situation where I forgot to include file
82.
▲
by
zeroimpl
3y ago
Which then requires each app to have a public IP, priced at $44/year starting soon
83.
▲
by
zeroimpl
3y ago
Name seems a bit odd. The item it points at doesn’t have to be immutable. I’d rather something like LazyValue since Lazy is the important part.
84.
▲
by
zeroimpl
3y ago
The article was interesting but didn't explain why hot atoms would be invisible.
85.
▲
by
zeroimpl
3y ago
> Mark Type: Service Mark Doesn't this just mean they own the rights to their use as a logo? Eg the stylized X on their products? I don't think this blocks anybody from using X in their products as long as the logos are clearly
86.
▲
by
zeroimpl
3y ago
That’s true for personal projects, which is essentially the case here. If this was a business, not so much. I was probably too harsh in my initial message, but when I read the article and see reasoning along the lines of “git lacks a good U
87.
▲
by
zeroimpl
3y ago
I thought they both started at the same time? Unless you are implying early versions of git were worse, which wouldn't surprise me. I know git has a learning curve, but the only times I really see junior people have issues is when they
88.
▲
by
zeroimpl
3y ago
Seems like a textbook example of NIH to me. By the time you understand git well enough to design a good replacement, you’re bound to be an expert and ought to appreciate more the design of git. If you don’t like the lack of a good GUI or we
89.
▲
by
zeroimpl
3y ago
Which is what’s great about these languages - best of both worlds. I also think this discussion shouldn’t be about languages at all, you can have objects of some form in any imperative language including C. It’s more about what design patte
90.
▲
by
zeroimpl
3y ago
It’s pretty common for most SQL queries to be reading data that is entirely cached in memory. In these cases, the performance limitations often come from sorts or hash joins.
More ›