Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thraxil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
301.
▲
by
thraxil
9y ago
I'm in agreement with most of the anti-consumerism argument. And having spent my adult life living in tiny apartments in NYC and London and moving internationally a few times, I certainly understand how possessions can be a burden. But
302.
▲
by
thraxil
9y ago
Did you read my original comment? My point was that if you're using Flask, you are responsible for pulling in all of those components and making sure they work together, not that there weren't good components available for Flask.
303.
▲
by
thraxil
9y ago
But you see, I find that overriding the one little bit of view code (literally a couple lines of code) to change the one thing I want changed is by far the simpler approach rather than changing the whole structure of the user model and intr
304.
▲
by
thraxil
9y ago
To extend this a bit, I would consider Flask if I didn't have a relational database. Without a relational DB, you lose the ORM and most of the ecosystem that's tied to it. At that point, something lightweight and simple is appea
305.
▲
by
thraxil
9y ago
Yeah, Wagtail documentation is a bit scattered. That's probably one of the larger issues I've run into when using it. Overall, I like it though. As much as it seems like a deviation from Django patterns, I actually found it easier
306.
▲
by
thraxil
9y ago
Is it actually worth using shell_plus without ipython though? If I was starting from scratch, I'd take a closer look at django-rq. I've used celery for years though and have more experience running RabbitMQ than Redis, so it'
307.
▲
by
thraxil
9y ago
I create Profile's that are mapped 1-to-1 to django.contrib.auth.models.User all the time to hold additional fields. I consider that the "orthodox" approach that Django encourages. I've even implemented "case-insens
308.
▲
by
thraxil
9y ago
OK. Well, I've been building Django apps since around 2007/2008. More than 50 deployed to production, many still running/maintained. Never once had a problem using the built-in user model. Do you work in some vertical that ma
309.
▲
by
thraxil
9y ago
If you're building a complicated, full, user-facing application, and start with Flask, you'll find yourself reinventing most of Django. Eg, a user model with pluggable authentication and flexible permissions model, ORM with migrat
310.
▲
by
thraxil
9y ago
Cool. My "always on" Django apps: * django-compressor * django-debug-toolbar * django-waffle * django-jenkins * django-statsd-mozilla * django-markwhat * django-storages (to put static assets on S3/Cloudfront)
311.
▲
by
thraxil
9y ago
Spent the last 17 years working for a university, writing custom code to support teaching, learning, and research programs. I've written code for projects related to climate modelling, tracking polar ice movement, studying traffic rela
312.
▲
by
thraxil
9y ago
My ex had narcolepsy and had a service dog to help her. She (the service dog) did a number of things for her including detecting and alerting her to an oncoming cataplectic attack, giving her a little extra time to get somewhere safe. Her t
313.
▲
by
thraxil
9y ago
Martin Kleppmann's "A Critique of the CAP Theorem" lays this all out very nicely and goes further, providing a better conceptual framework for discussing the tradeoffs: https://arxiv.org/abs/1509.05393 O
314.
▲
by
thraxil
10y ago
And a Fender Squier can be had for $150 or less. I know a lot of people who started on one of those.
315.
▲
by
thraxil
11y ago
NGaaS: NAND Gates as a Service
316.
▲
by
thraxil
11y ago
> Can some smart watch owner please explain what they like about having the watch? * When a call comes in, I can see at a glance who's calling and dismiss the call without taking my phone out of my pocket and carefully do the right
317.
▲
by
thraxil
11y ago
The article in the next point though says "These two applications communicate using a REST API (…instead of using sockets, shared memory or files, etc.)." So it's already lost all the benefits that it could have from running
318.
▲
by
thraxil
11y ago
>> Since these components are doing different things, there is little chance that there would be a performance benefit > Complementary workloads should not be a problem. It would actually make thrifty usage of the hardware. The arg
319.
▲
by
thraxil
11y ago
Senior Programmer at Columbia University Center for Teaching and Learning. Mostly backend and devopsy stuff. Side projects: * content-addressed storage cluster with a REST interface: https://github.com/thraxil/cask/
320.
▲
by
thraxil
11y ago
If that's your thing, I just wrote a long blog post on using Make with Django: https://thraxil.org/users/anders/posts/2016/03/03/Using-Make...
321.
▲
by
thraxil
11y ago
> My only complaint with Ansible really has been that it feels slow at times. Highly recommend Salt then. A bit more of a learning curve, but so much faster than Ansible.
322.
▲
by
thraxil
11y ago
Yeah, but the problem I have with the iPod thing is that while 256GB is a lot more than 40GB, it's still only a fraction of my collection so I'd still have to spend time deciding what to put on it. 40GB is enough to go months of n
323.
▲
by
thraxil
11y ago
> That said, I do think there is one popular game that gets very little respect from (at least western) game enthusiasts: go I guess I would have to disagree with your characterization of go as not respected. I've never heard any of
324.
▲
by
thraxil
11y ago
Exactly my setup. I love it for travelling since it weighs nothing (my headphones weigh significantly more than the Sansa), the batteries last forever, and I don't have to play the "can I listen to music on this long flight or wil
325.
▲
by
thraxil
11y ago
Totally agree on the importance of reasoning. Word problems though are often hated because they're so ambiguous in unintentional ways that don't really relate to the problem. Eg, in the middle school example on the page, when it s
326.
▲
by
thraxil
11y ago
Is it really simpler and more efficient to have 96 individual power bricks with custom mounting hardware rather than one (or a few) larger, high-efficiency AC to DC converters and just distributing DC within the rack?
327.
▲
by
thraxil
11y ago
It's useful as part of a layered strategy. Your passwords still need to be secure enough that they can't be guessed easily. If they're easily brute-forced, fail2ban might slow things down, but it won't stop it. Once you
328.
▲
by
thraxil
11y ago
This is basically how we still do it (with nginx + gunicorn rather than apache). Wheels (and recent setuptools/pip versions that build and cache them automatically) just made the build step significantly faster (lxml, argh). We're
329.
▲
by
thraxil
11y ago
> I never figured it out, we could do everything we need in production with LXC, puppet, carton and perlbrew. Combined with a vagrant box for dev, we have no issues. Would you feel differently if you hadn't already ramped up on all
330.
▲
by
thraxil
11y ago
The article explicitly states that Duolingo moved away from this model though: "As a company spokesperson told me, the company actually tabled its ambitions around translations about a year and a half ago and hasn’t scaled the business
More ›