Hacker Newsnew | past | comments | ask | show | jobs | submit | more rustyminnow's commentslogin

> for me a computer is a tool. [...] having to tweak the environment is a waste of time.

In woodworking and other circles, there are folks who only buy the best-est, most expensive tools money can buy. Then there are folks who take regular tools and modify them for the job at hand, creating a better tool that money can't buy.

Point is, there are many kinds of folks out there and if you need a good ball-hitting hammer - well you won't find THAT at Home Depot, but someone creative could probably put together something better.


What's an IDE and how does it refactor hundreds of semantically unrelated identifiers in one go?


I’m not a Python developer, but…

I believe the idea is that those identifiers are semantically related: that fixture decorator inspects the formal parameter names so that it can pass the appropriate arguments to each test when the tests are run. A sufficiently smart IDE and/or language server would thus know that these identifiers are related, and performing a rename on one instance would thus rename all of the others.

And maybe you were being facetious, but an IDE is an “Integrated Development Environment”.

Edit: Yep. Took all of 60 seconds to find what I’m looking for, as I type this from my phone while sitting in my throne room: https://docs.pytest.org/en/6.2.x/fixture.html

See the “Fixtures can request other fixtures” section, which describes the scenario from TFA.

And this post describes the PyCharm support for refactoring fixtures: https://www.jetbrains.com/guide/pytest/tutorials/visual_pyte...


Yes! Both are valuable, and sometimes you need to iterate between and within each. Like if the conceptual components are mutually recursive (A is defined in terms of B, B in terms of A (SOLR anybody?)), skimming the docs can give you a "pencil sketch" level model, examples can flesh out the relationships between components, and re-visiting the docs with extra context can provide a more precise model.


I'm pro kubernetes, but AWS does push you to upgrade your cluster fairly often (annually?) which could break things. It would be cool if kubernetes had LTS releases.


Any tips or links for tuning? zsh has a powerful engine and lots of great work out there, but when I've tried cooking my own it's all just too dense to get "comfortable" for long.


For VS Code there is a good first-party PowerShell extension which helps a lot at writing scripts in the verbose style.

There's experimental new IntelliSense available in the VS Code terminal: https://code.visualstudio.com/docs/terminal/shell-integratio...


I'll bet it looks fantastic from the inside with those huge windows and tiny hoods.


Those huge windows and tiny hoods also probably make them significantly safer for little kids and pets.

USPS trucks are regularly driving through highly residential areas including fairly quiet ones where little kids may possibly be running around close to the street or even on them.


So this is basically just what cars should look like.


Why is it so extremely loud inside, though?


The article uses "taste" pretty broadly compared to many folks in the comments. First mention is about the site being pretty. But later he says "We had taste. We cared about the experience" which more aligns with your perspective of convenience.


yes, lol, just copy the url, find/open a terminal window, type out `firefox `, paste the url, and press enter. So much easier.

To be clear, the override script is closer to going ...

    mkdir ~/custombin/
    ln $(which firefox) ~/custombin/xdg-open
    PATH=~/custombin:$PATH slack
... than going `firefox url`


What are your undo settings? I set undofile and undodir, but not sure if it's unlimited.

One issue I have is if nvim is closed and the file is touched by some outside process (say git pull) it clobbers the history. Do you know if there's a fix to that?



re: undo settings, I set my `undolevels` [0] to a very high number to make it unlimited for all intents and purposes.

[0] https://vimdoc.sourceforge.net/htmldoc/options.html#'undolev...


Cyber criminals use wordpress vulns to inject spam into old blogs. That doesn't make it less weird and shady, but might explain why it's weird and shady.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: