Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
more-coffee
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
more-coffee
6d ago
That blog post smells like Opus.
2.
▲
by
more-coffee
14d ago
Do you mean that LLMs are unable to use metaphors effectively? (Just clarifying because English is not my first language)
3.
▲
by
more-coffee
3mo ago
Seems to me like the last thing you want to do is worry whether the LLM has a large enough context window to keep an eye on all duplicates. So I'd argue to deduplicate directly, where possible.
4.
▲
by
more-coffee
2y ago
"karate chop flashlight" love this description! That's exactly why I've stayed with Motorola after my G5 just got too slow. I'm now on a Moto G Pro from 09/2020, it's getting fairly slow but all in all it
5.
▲
by
more-coffee
2y ago
This. I have argued with plenty of developers on why comments are useful, and the counter arguments are always the same. I believe it boils down to a lack of foresight. At some point in time, someone is going to revisit your code, and even
6.
▲
by
more-coffee
2y ago
And in a few million years, the next intelligent life form will examine remains of human texts, and wonder: with all the tools and knowledge they possessed, how could they not have prevented their demise? (Sorry for pessimism and offtopicis
7.
▲
by
more-coffee
2y ago
I'm trying difft for git now and I also really like it. One reason why I think it shouldn't be the default is that it hides whitespace differences. Maybe that's configurable though, haven't looked into that
8.
▲
by
more-coffee
3y ago
It's a tad silly that they made this the default
9.
▲
by
more-coffee
3y ago
That is so obvious.. yet I've never thought to try this in 10 years of using git.
10.
▲
by
more-coffee
3y ago
For your mypy performance question, make sure it's using incremental mode [1] so that it can skip checks on code that didn't change. Yes, it is probably among the slowest of type checkers, but it is also quite thorough. [1] https
11.
▲
by
more-coffee
3y ago
And that's why I never trust/use x.0.0 releases because they must have missed something :)
12.
▲
by
more-coffee
4y ago
Depending on how much that equality check is deciding the application's performance, jsonifying to compare stuff is fairly ok. Just beware of any lists which you'll need to sort manually (on both sides) to prevent false negatives
13.
▲
by
more-coffee
4y ago
I bet they also pulled out the "but the code will change and then the comments become invalid, or even gasp misleading"?
14.
▲
by
more-coffee
4y ago
I have done this too for familiarizing with large/complex codebases (i.e. for a C++ game engine). Afterwards I usually felt like it was a waste of time (and paper) as I didn't reach back to those notes often. But that's becau
15.
▲
by
more-coffee
5y ago
Not sure how to contact you in case of possible bugs/problems, just going to drop a comment here. Was trying a bunch of "define:" queries and noticed something small; This works https://search.marginalia.nu/se
16.
▲
by
more-coffee
6y ago
I always have been and always will be against the walrus operator. I don't care how much anyone tries me to sell it on its elegance. There's just no _need_. It's already the #1 example of wtfpython https://github.c
17.
▲
by
more-coffee
6y ago
Borg is supposedly a bit faster, restic supports a ton of backends https://github.com/restic/restic/issues/1875 Also restic does not allow to backup unencrypted. I haven't used borg. Only done some maint
18.
▲
by
more-coffee
6y ago
Yeah, I don't think the internet can be fundamentally altered to the extent that it could be regulated. Unless it somehow becomes a major priority for the world leaders - in which case I'll bet we can say goodbye to any privacy we
19.
▲
by
more-coffee
6y ago
You say you're human, but how can we know for sure?
20.
▲
by
more-coffee
6y ago
This entire thread is surrealistic and giving me Blade Runner vibes.. I love it.
21.
▲
by
more-coffee
7y ago
That's a good one. I do the same in code documentation. One line to very briefly summarize what that function/module does, <enter><enter>, followed by a more detailed description.
22.
▲
by
more-coffee
7y ago
By packaging situation do you mean the user-side of things, i.e. how to install stuff separately of each other? For that I've had good experience using https://pypi.org/project/pipx to install several cli tools wi
23.
▲
by
more-coffee
7y ago
Sorry for slow response, I don't check back here often enough. You're right about virtualenv. I don't realy use that anymore, the venv module added in 3.3 gets the job done. And that does default to symlinks for posix. https
24.
▲
by
more-coffee
7y ago
Depending on the platform, virtualenv defaults to creating a symlink to the Python executable. You can override it with --copies, but then you have a new problem: updating the interpreter in all virtualenvs when a new Python release comes o
25.
▲
by
more-coffee
7y ago
- adapt a time management technique (i.e. pomodoro) to ensure frequent breaks from typing. Listen to it. Your code can wait. Grab some other objects during the breaks (lacrosse ball) - get light dumbbells, ranging from 2 to 6 kg, and start
26.
▲
by
more-coffee
7y ago
> Admittedly, debugging is not perfect (at least not with my Docker Compose setup in PyCharm) A bit off-topic, but how so? It works fine for me using the setup described here https://www.jetbrains.com/help/pycharm&#x
27.
▲
by
more-coffee
7y ago
Yes, there are more use cases I didn't knew of at the time. For example, optimizing revenue by calculating the optimal routing strategy for outbound calls. But data analysis wasn't a prority. Nor was scaling storage or computation
28.
▲
by
more-coffee
7y ago
About 5 years ago I worked at a small, business oriented telco. The biggest ETL was processing external CDRs, applying call tariffs, and creating bills and reports. A previous developer had been adamant about using a Hadoop cluster to proce
29.
▲
by
more-coffee
8y ago
Upvoting because it's wednesday.
30.
▲
by
more-coffee
8y ago
Yep, had the same in Safari. But when I use Firefox and click on -119000 it shows the objects almost immediately.
More ›