Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xenomachina
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
xenomachina
2y ago
> I especially dont see what is gained by writing the test after. I assume you mean versus writing it first, rather than versus not writing it at all. I've found that TDD works well for bottom-up coding, but not so well for top-down
2.
▲
by
xenomachina
3y ago
How?
3.
▲
by
xenomachina
3y ago
s/Below/Above/ ?
4.
▲
by
xenomachina
3y ago
Sure. My point was just that contrary to what programmers typically think, people don't use binary search to look up things in a dictionary.
5.
▲
by
xenomachina
3y ago
Or a web app?
6.
▲
by
xenomachina
3y ago
When people search through alphabetical listings, they usually don't use plain old binary search, but instead use something like interpolation search. For example, if you want to find the word "xylostroma” in the dictionary, you a
7.
▲
by
xenomachina
3y ago
About 20 years ago I had two computers at work: a Windows PC and a Sun workstation. I used Vim on both. I knew about the vi ]] command, and I'd learned some Vim script. I thought it would be great to have a key binding to take me to th
8.
▲
by
xenomachina
4y ago
That's what comments in the other post said, but I don't know if there's new info in the last 3 years. Looking at their site, the features sound good (though I'm not thrilled about Plaid integration, TBH). They aren'
9.
▲
Ask HN: Best Bank for Startups? (US, 2023)
1 points
by
xenomachina
4y ago
|
2 comments
10.
▲
by
xenomachina
4y ago
One other thing in recent years: if you used Stripe Atlas to get incorporated, they made it very easy to get an SVB account.
11.
▲
by
xenomachina
4y ago
I agree with most of this, except: > 5. When merge happens a dev's PR is squashed into one commit that gets appended to `main` I don't know if GitHub supports this, but GitLab has a semi-linear history feature. When enabled, it
12.
▲
by
xenomachina
4y ago
> Yes, it can be annoying if your developers are committing nonsense, but then just tell them to not do that, or to rebase locally before pushing. I'm pretty sure rebasing locally is exactly what the person you're arguing with
13.
▲
by
xenomachina
4y ago
Years ago, a friend and I talked about a similar idea. We called it a log file "audiolizer" (as opposed to visualizer). The idea is was you'd tail log files through it, and it would produce sound based on the log lines. The h
14.
▲
by
xenomachina
4y ago
Even C89 supports block-level variable declarations. I think many C programmers are unaware of this, though, and mistakenly think that declarations are function-level only.
15.
▲
by
xenomachina
4y ago
> In C, you used to have to declare all local variables at the top of the function rather than throughout the body. This is true, but support for block-scoped (as opposed to function-scoped) variable declarations was added to C a long
16.
▲
by
xenomachina
4y ago
There can be weird differences that show up on different operating systems, even with the same browser. For example, we ran into a difference between Chrome on Linux vs Chrome on macOS where it turns out that on macOS, if you right-click on
17.
▲
by
xenomachina
4y ago
Niphtio | Senior Product Manager | Full Time | Remote (USA or Canada) | $130k - $175k USD (DOE) The web is full of engaging and informative content, but staying organized and focused can be challenging. At Niphtio, our mission is to enable
18.
▲
by
xenomachina
4y ago
The pistol emoji originally looked like a real gun. I think only Windows had a fake looking gun (more of a ray gun than a water pistol) initially. https://web.archive.org/web/20150625033351/https://unicod
19.
▲
by
xenomachina
4y ago
Yes, that's exactly what I mean by it not being useless. If everything is working perfectly, then perhaps ends up not doing anything, but it's good to have another line of defense for when things go wrong. It's the safety net
20.
▲
by
xenomachina
4y ago
Using a separate domain for user generated content is usually done for security reasons. For example, if a user-generated chunk of JavaScript was executed from drive.google.com, then it could potentially gain access to your drive.google.com
21.
▲
by
xenomachina
4y ago
Open source licenses aren't a free-for-all. Many have terms like GPL's copyleft/share-alike or the attribution requirements of many other licenses. If copilot was trained on such code, then it seems that it, and/or the c
22.
▲
by
xenomachina
4y ago
Approval rules are also arguably a "compliance feature". If they moved those up to Ultimate, I think they'd be making Premium useless for many teams.
23.
▲
by
xenomachina
4y ago
Python doesn't have regex literals.
24.
▲
by
xenomachina
4y ago
Is the link wrong? The title of the linked post is "Instant Heatmap with pg_featureserv", and from a quick skim, I don't see how the HN title applies.
25.
▲
by
xenomachina
4y ago
I still use Swype as well. I'd installed it from the Play store prior to it being discontinued. It still works fine, but hasn't had any updates in 2 years. I've also noticed that if I open the Play store link (below) in incog
26.
▲
by
xenomachina
5y ago
It isn't uncommon for letters in an acronym to be pronounced differently from they are in the words they originated in. eg: laser, scuba, and NASA aren't pronounced "lah-seer", "scuh-bah", "nay-sah".
27.
▲
by
xenomachina
5y ago
Two things the new system has broken for me: 1. Previously, installing a reddit app meant that it would become the default handler of reddit links. Worst case, I'd be prompted when I opened a reddit link, and I could choose the app I w
28.
▲
by
xenomachina
5y ago
Immediately after: > As a final measure, if a seller refused to sell his goods at the stated price, the penalty was death. So if you have something you don't want to sell, too bad? But then there's a simple loophole, too: once
29.
▲
by
xenomachina
5y ago
I worked at Google in 2000, and I found this annoying too, so I asked about it. The official reason was that a lot of browsers defaulted to en-US, so Google effectively treats an Accept-Language of en-US as a no-op, and then it falls throug
30.
▲
by
xenomachina
5y ago
There are at least a couple of ways of indicating that an entry should be deleted in RSS and Atom, but they don't seem to be well-supported. This blog post mentions a couple: https://oleb.net/blog/2015/11/
More ›