My initial concern was that it would slow down my browsing because my VPS is in another country but I haven't noticed much difference.
438 karma · joined May 10, 2016
My initial concern was that it would slow down my browsing because my VPS is in another country but I haven't noticed much difference.
It details the steps to setup udptunnel to tunnel Wireguard traffic over TCP. Hope it helps someone!
One recent example where I packed it in and just used Safari instead was buying a flight - I've found airline websites to be finicky at the best of times and the added layer of non-standard browsing was immediately painful. Other than that, it's been worthwhile; I recommend giving it another try!
I suppose what it comes down to is that we pour huge amounts of information into our phones and by extension, companies that don't necessarily have our best interests at heart, and any steps I can take to ameliorate that without a huge trade-off of inconvenience, I am all about doing. I don't know what my data will be worth in a few years!
[1] - https://www.theverge.com/2017/8/29/16219542/uber-location-tr...
With regard to 2, I've not found it to be noticeably slow, nor experienced dropped frames or the other complaints (ran on a 2014 and a 2017), but that's more likely me being unobservant.
My recreational browsing is mostly on an iPad, and the user story there is pretty desperate. I'd prefer to mimic my Desktop setup, but the walled garden doesn't afford me that opportunity. I'm cautiously optimistic that situation will catch up before I move platforms though!
Anyway, thank you for helping me see the other side a little better.
[1] - https://adnauseam.io
[2] - I don't know if anyone else has noticed this, but there's a needless and incessant Chrome (and Chromium) prompt on each startup as follows:
""" Disable Developer Mode Extensions
Extensions running in developer mode [sic] can harm your computer. If you're not a developer, you should disable these extensions running in developer mode to stay safe """
I personally find it inherently hostile, but perhaps I'm just an old man disregarding the use-case of other people!
(I apologise for this Python abomination):
print([{ (True, True): 'Fizzbuzz', (True, False): 'Fizz', (False, True): 'Buzz', (False, False): i }[i % 3 == 0, i % 5 == 0] for i in range(1, 101)])I looked into contracting in the UK for a national agency a couple of years back. The day-rates they proffering were almost double a London day-rate (before negotiation; I can only imagine what could have been secured). There's a deeply invasive interview process but they would cheerfully pay outrageous amounts to secure talent (and I wasn't even particularly good!). I assume not many people have the skill-set they're after and even fewer pass the checks. Perhaps it's different in the US but that was very much the state of affairs in the UK circa 2015
In order to access a JSON endpoint in Django, I need to install DRF, integrate it with Django, configure it, edit my urls.py and perhaps set up a serialiser. I won't detail the procedure in your first link because I think you very well know that is simply a response object with a crude serialiser and a content header set. The inclusion of both misses the point, which is that in Rails, I would simply navigate to /model-name.json (so in fact, yes, it is absolutely a burden to go through that when you compare the two). That's it. No parsing. No route configuration. No concerning myself with edge-cases unless I'm doing something odd. Requirement satisfied, and I can sleep soundly knowing I'm not bequeathing some custom car-crash on whoever inherits my codebase. Debate aside, I wholeheartedly encourage you to try out this framework sometime - I've found going from Django to Rails to be an absolute joy to develop with.
Generic Views. Ah. Well that has its own set of problems. Why am I wading through the docs (or more accurately ccbv.co.uk because the actual docs are a verbose, time-sinking miasma; recall that in my previous comment, I am championing the development-velocity of Rails in contrast to Django) to discover which method from which class I need to override to implement the functionality I need? I can intuit a lot more now, after doing this for years, but why do I need this knowledge at all? It is the job of the framework to abstract and ameliorate bullshit. Corollary: why is it that every Django codebase I inherit has at some point converged on its natural state of 'car-crash' because of the combination of a bunch of rigid inheritance chains and my predecessors not putting in an escape hatch? At risk of being a bit of a zealot, MI is almost always an anti-pattern and I would prefer the flexibility afforded to me by composing things in the traditional fashion.
In Rails, I would build a model like this in my shell: `rails g scaffold Blog title:string content:text`. That's again, literally it. From that, I now have a Blog model with title and content, created and updated fields, controllers (or 'Views' in Django parlance for some reason) and both HTML and JSON views ('Templates', in Django-land), unit tests, assets for my asset pipeline (we don't have to run collect static btw - it seamlessly transitions into production because it was designed on the basis that people might actually be deploying their projects), my equivalent of urls.py has been updated to accommodate my new model and I have full CRUD functionality at this point. Genuinely, I implore you to try this framework. Django has come a long way since I first used it but it's nowhere near the level that modern frameworks like Phoenix [1] (you should give this a go too - the third party libs aren't quite there yet but it's a really well thought-out framework) are at, and I'm genuinely curious as to why.
Other reasons I enjoy Rails:
- Scaffolds allow me to have CRUD support for any model I want with one command (combined with auth, I have Django's admin, more or less)
- JSON views without a third party library (surely this is pretty standard for a web framework in 2018 in most cases?)
Other reasons I don't enjoy Django so much:
- I can't think of an eloquent way to phrase this but Rails values my time. With Django I'm doing menial minutiae like creating a directory for my app's templates before it'll serve a page. Why? I know 'magic' is anathema to the Python community but context switches like this shouldn't be there when I'm trying to get an app up and running at speed
- I feel like it's stewardship is bordering on begrudging: Why are websockets (and JSON for that matter, but I've touched on that) not present in a 'kitchen-sink' web framework? I'm not sure why we're worrying about master/slave DB terminology [3] when there are axiomatically more pressing technical and adoption-related issues at hand.
Django is a fine web framework, and perhaps the best-in-breed for Python, but it feels miles behind where it should be at this point and I'm not really sure why.
[1] - https://github.com/plataformatec/devise
[2] - https://docs.djangoproject.com/en/2.1/releases/2.0/#mobile-f...
The current political developments present an interesting situation; a Labour campaign pledge was to impose capital gain tax on personal property investment (already sanely capped for anyone considered a property developer). I don't see other asset classes being taxed differently to compensate, thus exacerbating the already dire talent drain the country is experiencing. Ironic, given the endemic NZ aspiration to 'get ahead'. It's certainly an interesting time to live here, but I'd prefer bubbles to confine themselves to the Bay Area!
[1] https://www.fsc.org.nz/site/fsc/files/Releases/Releases%2020...
I've down-voted you not because I disagree fundamentally (although I don't rate MongoDB) but because you are dismantling an argument badly. I hope that isn't too rude.
From a personal perspective, if I were to decide to switch jobs, I'd break out Cracking the Coding Interview rather than reading papers detailing how best to implement a Splay Tree because it's simply a better use of my time for the task at hand. I'll cheerfully read the latter on my own time, but not in preparation for an interview.
I don't see this culture changing anytime soon. 1) it's difficult to make an industry-wide shift and 2) more crucially, no-one has found a better way of doing it. It'll be interesting to watch though.
Weechat's implementation circa last July left a lot to be desired as it couldn't even federate on its own network - messages I received on my iPad were not present on my Android! Perhaps they've addressed this since but (not to be deliberately contrarian) seamless is far from the adjective I'd use; indeed they seemed miles behind their Western contemporaries and more in the league of Line (another large Chinese messenger application for those unfamiliar). I understand they have a huge Asian user-base so there's presumably a gravity factor, but it certainly didn't seem like they had it together at all.
I guess if I'm being picky, I'd also pick you up on the point prior; fatty foods aren't necessarily correlated to obesity, but I'm guessing that's not exactly what you're driving at.
Thank you for making me think a little more!