HNHacker News
TopNewBestAskShowJobs

0xADEADBEE

438 karma · joined May 10, 2016

submissionscomments
0xADEADBEE··on WireGuard for iOS
That's pretty much my threat model. I tunnel everything over a Digital Ocean box, where I can assume that three letter agencies have access to my traffic but be reasonably confident that my ISP isn't building up a profile on me that it may be sharing with third parties in my country like insurance companies or credit agencies. I can also roll my IP every few weeks which might assist in messing up various tracking/profiling measures.

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.

0xADEADBEE··on WireGuard for iOS
You’re so welcome! Thrilled to have saved someone else the debugging time. Enjoy!
0xADEADBEE··on WireGuard for iOS
I set up Wireguard with this script [0] and made the jump from OpenVPN earlier this week (using Testflight). Has worked wonderfully throughout (once I added a DNS server to my client config - that one bit me!) and I'm now a convert.

[0] - https://github.com/l-n-s/wireguard-install

0xADEADBEE··on WireGuard for iOS
This HN comment might be worth a look: [0]

It details the steps to setup udptunnel to tunnel Wireguard traffic over TCP. Hope it helps someone!

[0] - https://news.ycombinator.com/item?id=17847008

0xADEADBEE··on Firefox desktop market share now below 9%
Thank you for this - I'd never looked into uMatrix but I'm test driving it today.
0xADEADBEE··on Lime and Bird are growing rapidly
I have a similar view - there's some very smart people here!
0xADEADBEE··on Lime and Bird are growing rapidly
It was a bit of a nightmare for the first day or two, but I was buoyed by seeing how many external tracking scripts are automatically loaded on websites that I never expected that from. It's largely seamless once you've whitelisted the things you like, but it takes a couple of days.

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!

0xADEADBEE··on Lime and Bird are growing rapidly
I haven't done it for a while, and I've only done it in New Zealand but yes! m.uber.com should get you there. The car display freezes on occasion, but they'll ring you if they're outside and you're not. Good luck, and you are so welcome!
0xADEADBEE··on Lime and Bird are growing rapidly
This is exactly what I think, but I doubt I'd have articulated it so well. Who knows where that road leads?
0xADEADBEE··on Lime and Bird are growing rapidly
Well of course and you make a fine point, but I don't know what the app is up to when I'm not using it. And there was also the fiasco of them tracking after rides were completed [1].

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...

0xADEADBEE··on Lime and Bird are growing rapidly
It's a great question! It's honestly not too bad, although every now and again I flirt with throwing in the towel on account of the fact I'm sure I'm not really making a difference to the data collection at large. I browse with Firefox, an ad-blocker CookieAutoDelete and NoScript also, which sounds horrific, but actually works well (although I'm under no illusions that combined with routing my traffic through a VPS and browser fingerprinting are not hiding me at all). Browsing on ios with Firefox Focus is needlessly laborious also, but other than that I've found it to be fine.
0xADEADBEE··on Firefox desktop market share now below 9%
I am an edge-case but my favourite extensions are AdNauseum [1], CookieAutoDelete and NoScript. The first isn't even available on the Chrome store (although you can install it via Dev Mode [2]), and that's before I weight concerns like Google's dragnet. Totally agree with the Network Effect point though, and I hear Chrome's dev tools are quicker than Firefox's in DOM rendering.

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!

0xADEADBEE··on Lime and Bird are growing rapidly
I must be in a bit of a minority but my main objection to these would be the installation of an app to use them - I am perhaps too privacy-conscious and admit I haven't attempted the signup process but even with a throwaway email address, I'm not comfortable installing it on a device I take with me when I leave the house; I even Uber via the web interface and would probably stop using the service if they hamstrung that more than it is already. Is this something other HNers concern themselves with?
0xADEADBEE··on Decision Tables
I guess you could do it in anything, even if it doesn't support pattern matching:

(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)])
0xADEADBEE··on ‘Five Eyes’ Nations Quietly Demand Government Access to Encrypted Data
Regarding your private sector point:

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

0xADEADBEE··on Is Rails still relevant in 2018?
Right. Last I checked it was being brought into the fold but it hasn't been - I still have to install a third-party library to get what is rapidly becoming a normal thing to have in a web-framework. My point was more "why isn't this in my kitchen-sink framework" more than "I don't know how I would go about integrating websockets in Django"
0xADEADBEE··on Is Rails still relevant in 2018?
I fear you've contrived to miss both underlying points.

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.

[1] - https://phoenixframework.org/

0xADEADBEE··on Is Rails still relevant in 2018?
I would wholeheartedly agree that the object model confers a large advantage to Ruby; I hadn't considered your Python point but you're absolutely right - there are demonstrably fewer ways to solve certain problems. I sometimes wonder what Python would look like if it were easier to differentiate between an attribute lookup and a method call.
0xADEADBEE··on Is Rails still relevant in 2018?
I work in a lot of Django shops and my Ruby is nowhere near as good as my Python but I'll pick Rails every time if I'm working on a side project. Why? Because the development velocity when using it is unparalleled. I can have an MVP up orders of magnitude quicker than I can with Django/Flask/Twisted. You're absolutely right on the Admin interface and auth, but auth is a gem install away [1] and Django's admin won't fit my requirements more often than it helps; I can seldom justify exposing it to end users and it's a hideous undertaking to extend it meaningfully (I gather this is one of the reasons it is a bit of a laggard compared with the rest of the framework. We only got mobile support out the box in 2.0 for example [2]).

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...

[3] - https://github.com/django/django/pull/2692

0xADEADBEE··on The latest trend for tech interviews: Days of unpaid homework
I was exposed to this essay really early on in my career and it completely changed how I thought about programming. Thank you so much for writing that; I still link people to it today.
0xADEADBEE··on New Zealand to ban foreigners from buying existing houses
The real reason this is happening is in fact much simpler than outlined in the comments: Kiwis quite simply don't have an asset class in which to invest sensibly that isn't property [1]. In America, I'd cheerfully put the majority of my income into an index fund tracking things like the S&P 500 but New Zealand tax laws heavily penalise this and incentivise property ownership by giving a pass on capital gain tax. The result? House prices are driven up artificially; a problem adroitly obscured by not appearing on an RPI index.

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...

0xADEADBEE··on MongoDB has filed confidentially for IPO
Did you consider that perhaps projection of growth is exactly what you'd do in the event of an IPO? Or that Google trends isn't a sensible heuristic for a valuation?

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.

0xADEADBEE··on Data Structures for Coding Interviews
...and we've come full circle. The industry demonstrably brought this upon itself by cargo-culting Google's interview process; combine an environment where people are expected to know how to invert a BST for a Django or Rails job with a group of people who are naturally inclined to optimise and shortcut and this is exactly what you can expect to happen.

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.

0xADEADBEE··on Phoenix 1.3.0 Released
This isn't your fault. Python doesn't get the asynchronous stuff particularly right, nor does it make it as straightforward as it should. I've moved to Elixir and one of my employers has moved to Go as a direct result of Python's concurrency model (and the hilariously needless and recondite primitives attached). Your reasons aren't particularly superficial; I'd pick the Actor model over systemd and uWSGI for anything critical!
0xADEADBEE··on Why We Chose Typescript
The majority of YouTube is in Python 2.7 and actually served as the impetus for GrumPy [1], a transpiler to convert Python to Go.

[1] https://github.com/google/grumpy/

0xADEADBEE··on Canada's Tech Firms Capitalize On Immigration Anxiety
Same situation and your appraisal is completely consistent with my experience. Working at some supposedly leading agencies has only served to horrify, to the point I've started reverse interviewing employers on ComSci fundamentals to ensure I'm not working somewhere totally hopeless. I'm unsure if the New Zealand education system is behind its European counterparts or if I've just been unlucky but I'm curious to find out. I won't be applying for residency.
0xADEADBEE··on Scaling Mobile Messaging at Airbnb
This is not accurate. I move countries a lot and change SIMs (and by extension, phone numbers) and the only time recipients note a number change is when I change handsets. As far as I can tell, new phone numbers are stacked upon the existing user ID which is ostensibly based on the handset (likely the IMEI) and nothing much changes to the recipient until that combination is broken.

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.

0xADEADBEE··on As New Zealand Courts Tech Talent, Isolation Becomes a Draw
Apologies for misconstruing your comment. I had no idea about Sumner being more prone to Earthquakes; I'm genuinely glad you replied because i was flirting with a move there in a few months.
0xADEADBEE··on As New Zealand Courts Tech Talent, Isolation Becomes a Draw
Why do you think that is? Aucklanders ostensibly lament mobility in my experience, but I'm new and thus open to the views of people who've lived here longer.
0xADEADBEE··on As New Zealand Courts Tech Talent, Isolation Becomes a Draw
I'd disagree with your last point: 'Getting ahead', and the instinct behind it seems to me to be the main driver behind New Zealanders being generally much more entrepreneurial than their European counterparts (anecdotal is not the plural of data, notwithstanding). Additionally, working in Wellington yields a London rate but without the equivalent expense (I'm a contractor); so attainment of 'ahead' is well within the grasp of someone competent and reachable for those who aren't, at least as far as I can tell. While I am in no position to comment, my experience has also lent itself to the deduction that the education system here isn't as rigorous as it is in other places, but this is entirely anecdotal also, so should be taken for exactly what it is worth.

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!

← PreviousPage 5 of 6Next →