Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
saila
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
211.
▲
by
saila
6y ago
This article doesn't mention linking at all, which is at the heart of REST. Without links, it isn't REST , and most of the suggestions don't have anything to do with REST per se . Most of it is just standard JSON-over-HTTP
212.
▲
by
saila
6y ago
I'm upgrading right now on Big Sur, and everything was installed from pre-built binaries; nothing was compiled locally.
213.
▲
by
saila
6y ago
Regarding the big list at the beginning of the article, which may seem daunting, IMO you just need venv, and I'd also add poetry. pyenv and tox are useful if you need to support multiple Python versions. - pyenv is used to manage which
214.
▲
by
saila
6y ago
This just means that tox is configured to run the project's test suite against those two Python versions.
215.
▲
by
saila
6y ago
I think it's better to create a virtualenv for each project and install tox and other project dependencies there. In addition, I'm not sure tox-pyenv is required. I use tox with multiple pyenv-installed Python versions and have
216.
▲
by
saila
6y ago
Typer looks cool. I really like the idea of just writing functions to create command line scripts rather than using argparse. Here's another library that takes a similarish approach using annotations, although it's not quite as po
217.
▲
by
saila
6y ago
In the current version, 1.1.4, if your package has optional dependencies (AKA "extras"), the generated package metadata is incompatible with setuptools (specifically the packaging package, which can't parse the requirement
218.
▲
by
saila
6y ago
Massive amounts of grain are fed to livestock, and vast acreage is cleared for grazing livestock. If everyone went vegetarian, I'm fairly certain the amount of crops grown and land we use for agriculture would be significantly less. Tu
219.
▲
by
saila
6y ago
> recommendation features are secondary The recommendation features, albeit imperfect, are a big reason I'm still on Spotify. I don't think they're secondary at all, as I would have gotten bored by now and canceled my subs
220.
▲
by
saila
6y ago
Ah, I see. I read "which is idiomatic for scripts" as applying to Python scripts and not scripts generally.
221.
▲
by
saila
6y ago
I'm curious what you mean when you say global variables are idiomatic in Python scripts. I work on Python scripts on a daily basis and very rarely use globals except for the occasional "const" value. If globals ever do caus
222.
▲
by
saila
6y ago
I've been doing web development for a long time, and I've never had to do anything like btree reversal in a web development context. It's probably not even that hard, but I doubt I'd be able to improvise a solution in
223.
▲
by
saila
6y ago
As a counterpoint, ripgrep is good and serious and the only grep I ever use if I can help it. https://github.com/BurntSushi/ripgrep
224.
▲
by
saila
6y ago
Since these hornets didn't arrive in North America "naturally," removing them isn't "unnatural."
225.
▲
by
saila
6y ago
Is REST without hyperlinks for discovery and "state transfer" still REST? People use REST to mean just about any type of API-over-HTTP, which makes the term nearly meaningless. If someone--an individual developer, open source proj
226.
▲
by
saila
6y ago
I've been doing software development on macOS/OS X for quite some time now and the consumerization aspects don't bother me. I install almost everything I need via Homebrew, from software libraries to desktops apps, and the fa
227.
▲
by
saila
6y ago
I don't think that article can be classified as hate speech using any reasonable definition. What I get from it is a disdain toward men for their behavior , particularly as it pertains to power and violence in a particular social/
228.
▲
by
saila
6y ago
I'm not super convinced. Most people have never been given the chance to adapt to full-time remote work. And there are many ways to have "hallway conversations." A lot of people are probably more creative in a textual medium
229.
▲
by
saila
6y ago
> FAANG salary is a pretty damn strong incentive to overcome that geo-friction to begin with. This is really only true for certain segments of the population. In my early to mid 20s, I moved cross country numerous times. Now I hope I nev
230.
▲
by
saila
6y ago
Have you looked into Netlify CMS? https://www.netlifycms.org/
231.
▲
by
saila
6y ago
I'm guessing you'll get a warning when installing or updating pip on Python 2.7. I know for Python 3.4, pip has been showing a deprecation warning whenever it's installed for a while now. I assume they'll do the same for
232.
▲
by
saila
6y ago
The pip docs say support for Python 2.7 will be dropped in January 2021 or if there are show-stopping bugs in Python 2.7 that affect pip before then: https://github.com/pypa/pip/blob/master/docs/html
233.
▲
by
saila
6y ago
I didn't get the point of this at first (and still kinda don't). I think the most useful thing might be this link: https://python-release-cycle.glitch.me/ . It's a nice visual representation of Python version
234.
▲
by
saila
7y ago
I came in here to mention myNoise too. I use it all the time for noise masking. The office noise generator isn't my thing, but there are numerous other sounds to choose from--white/brown/grey noise, rain, ocean waves, a pur
235.
▲
by
saila
7y ago
I used Svelte 3 for a fairly complex side project last year (rewrote it from React), and it's my favorite JS framework so far. I do wish the TypeScript story was better though. I've also used Elm for another little side project, a
236.
▲
by
saila
7y ago
Agreed, and there's also git restore now, which might be a bit more intuitive.
237.
▲
by
saila
7y ago
I really don't think git reset --hard should be at the top of a list of git commands intended for beginners.
238.
▲
by
saila
7y ago
Most people still think email is private for whatever reason. City and other government contact pages should have big red flags making it clear that your correspondence could be made public at any time. Even the record of correspondence wit
239.
▲
by
saila
7y ago
Have you used PostGIS at all? It seems like a good choice for this kind of lookup. https://postgis.net/
240.
▲
by
saila
7y ago
What is the practical difference between /usr/local and /opt or /opt/local ? I don't think macOS puts anything in /usr/local .
More ›