Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alasdairnicol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
alasdairnicol
5mo ago
Forgive me for asking a slightly inhaled question - Is there a way to get uv to respect `exclude-newer` in `pyproject.toml`? When I run `uv run` it removes `exclude-newer` from pyproject.toml. I could run `uv run —-frozen` or `uv run --excl
2.
▲
by
alasdairnicol
5y ago
My Roku remote takes several seconds to wake up and connect (over bluetooth?) every time I turn on the TV. It's infuriating. Give me back IR with its line of sight limitations!
3.
▲
by
alasdairnicol
6y ago
Yes it looks as if that functionality is in 2.0, but the list of typos isn’t as extensive as in later versions. https://mock.readthedocs.io/en/latest/changelog.html#and-ear...
4.
▲
by
alasdairnicol
6y ago
This behaviour has changed in Python 3.5 [1], and it was also backported to the mock package. When unsafe=False (the default), accessing an attribute that begins with assert will raise an error. [1]: https://docs.python.org/
5.
▲
by
alasdairnicol
8y ago
You aren’t forced to pay the political levy in the UK, you can opt in/out.
6.
▲
by
alasdairnicol
8y ago
Thanks for the clarification. My point was that this wiki page is out of date so probably not that useful. I could have been clearer that the wiki is not part of the official documentation.
7.
▲
by
alasdairnicol
8y ago
> The middlewares shouldn't be redirecting POSTs then! They could have returned a client error instead. This has been fixed since Django 1.0, released in 2008. The page links to the commit that fixed the issue.
8.
▲
by
alasdairnicol
8y ago
Django’s documentation is excellent, but parts of the wiki are out of date. This page has barely been updated in the last four years. It mentions MIDDLEWARE_CLASSES (deprecated in Django 1.10) and using strings in url() (deprecated in Djang
9.
▲
by
alasdairnicol
8y ago
I didn’t like this attempt to get you to install the messenger app either. However, I found out you can access messages on mobile using mbasic.facebook.com
10.
▲
by
alasdairnicol
9y ago
Oops, I got my OSs mixed up. The bootloop was after I installed LineageOS, then OnePlus flashed it back to the official OxygenOS.
11.
▲
by
alasdairnicol
9y ago
I got my OnePlus stuck in a boot loop after installing Oxygen OS. OnePlus support scheduled a remote session and managed to flash it back to stock. I was very impressed, I had assumed they would refuse the help because I had flashed it with
12.
▲
by
alasdairnicol
10y ago
You can still read Facebook messages on the mbasic site. https://mbasic.facebook.com/messages
13.
▲
by
alasdairnicol
10y ago
Agreed 1.4 LTS to 1.8 LTS was tricky, but future LTS to LTS upgrades like 1.8 to 1.11 should be easier. From 1.8 onwards, if your code runs without depreciation warnings in one LTS, then it should work on the next.
14.
▲
by
alasdairnicol
10y ago
There is one Thunderbolt 3 port.
15.
▲
by
alasdairnicol
10y ago
[1]: https://docs.djangoproject.com/en/1.9/internals/release-proc...
16.
▲
by
alasdairnicol
10y ago
Django has a time based release schedule [1]. The class based authentication views weren't committed until after the feature freeze for the 1.10 alpha.
17.
▲
by
alasdairnicol
10y ago
As well as Holden in Aus/NZ, it's Vauxhall in the UK, and Opel in the rest of Europe.
18.
▲
by
alasdairnicol
12y ago
My Macbook died last month after 15 months, outside of the 1 year warranty. I had bought it from Apple's website. The local certified shop wanted £99 to diagnose the problem. Apple weren't particularly helpful when I asked for hel
19.
▲
by
alasdairnicol
12y ago
> If an expensive laptop breaks after 4 years, then you can argue it wasn't fit for purpose and therefore must be fixed or replaced (or a full refund issued). As long as you haven't caused the problem through misuse, you'r
20.
▲
by
alasdairnicol
12y ago
I have a happier experience of winning a Molyneux competition. Back in the day, I entered a Theme Hospital competion on the Bullfrog website, and received a copy of Syndicate and a Bullfrog leather jacket in the post. I was maybe 12, so the
21.
▲
by
alasdairnicol
13y ago
Django 1.7 supports Python 2.7, 3.2 and 3.3 [1]. I guess Python 3 isn't mentioned on the 1.7 release notes because Python 3 support has not changed from 1.6. I can see how you'd find that confusing. [1]: https://docs.dj
22.
▲
by
alasdairnicol
13y ago
It took me quite a while to find tickets and patches that I could work on. I started with a couple of really trivial documentation fixes, and am building from there. I agree that the ticket list can be a bit daunting, so don't give up!
23.
▲
by
alasdairnicol
13y ago
I wrote that BooleanFields without defaults patch! I'm glad that the warning has been seen by at least one person! The ./manage.py validate command has been replaced with ./manage.py check in Django 1.7. The new system checks