HNHacker News
TopNewBestAskShowJobs

whostolemyhat

295 karma · joined August 15, 2011

I make websites and apps. www.jamesbaum.co.uk

[ my public key: https://keybase.io/whostolemyhat; my proof: https://keybase.io/whostolemyhat/sigs/rYfSAiH2dJJuMkjqveEVSmh08oNEoxJAFK_igakxnDY ]

submissionscomments
whostolemyhat··on A summary of jQuery method alternatives in native browser implementation
I agree with your overall point, but bringing up satellite connections is a bit silly - you shouldn't be optimising for edge cases.
whostolemyhat··on Going native
Could you give an example about how wrapped apps are somehow lesser than native?
whostolemyhat··on iPad 9.7‑inch
The scrolljacking on that page is painful. Maybe it's just the massive images they're loading that's causing the chug on my machine (Macbook Pro), but it's really off-putting.
whostolemyhat··on ConvertKit: How Nathan Barry Bootstrapped an Email Marketing Business
Marketing makes you a scumbag. Got it
whostolemyhat··on Ask HN: What's your go-to stack for prototyping web applications and MVPs?
Django if I need users/auth stuff, otherwise Express on the backend. On the frontend I use React and Redux, usually with a boilerplate like https://github.com/davezuko/react-redux-starter-kit
whostolemyhat··on Ask HN: Why Haven't GUI Front End Editors Caught On?
At the cost of poor performance on the client [1], so you're just pushing any time saved in development onto your user.

The only way around the poor performance of table layouts is to use table-layout: fixed, which then means you lose all responsive layout so you'd need to create a new version for every screen size you wanted to support (and implicitly, not be able to support every size of mobile screen since percentages don't play well with fixed layout. In this case, you haven't saved any time and in fact have created more work for yourself along with a worse version of your site since fewer people will be able to view it properly.

[1] http://www.stubbornella.org/content/2009/03/27/reflows-repai...

whostolemyhat··on iOS and MacOS Developers Can Now Respond to Reviews
But one-star reviews just because the app asked for a review doesn't hurt the usefulness of reviews?
whostolemyhat··on Yes, organic farming will kill us all
So it's hearsay then?
whostolemyhat··on On Getting Older in Tech
But this was fixed with strict mode; this is like criticising Java for not having generics, even though generics were added ages ago.

You can still assign/use global variables in the browser, but like the parent says, this is the browser's fault - having to accept old and badly-written code for compatibility reasons.

whostolemyhat··on On Getting Older in Tech
Oh, give it a rest with this shit. Literally every thread where Javascript is mentioned, even in passing like this one, someone feels the need to pop up with the 'Javascript is terrible' meme. I get it, lots of people don't like Javascript, but this comment adds absolutely nothing to the discussion and just drives people away from HN since the same negativity and tired one-liner gets churned out over and over again.

If you absolutely must tell the world that you don't like JS, at least be interesting or actually list your reasons so there's something to discuss.

whostolemyhat··on Let's Colonize Titan
Well ok, let's just pretend everything's fine and carry on exactly as we are.
whostolemyhat··on Intercooler.js – Making AJAX as easy as anchor tags
I know it's largely hypothetical, but by not using data-, aren't you running the risk of namespace collisions in future? data- attributes are guaranteed not to ever have an 'official' version that the browser expects, while anything else may exist in the future.
whostolemyhat··on Donald Trump is the president-elect of the U.S.
Why mention race at all? Why is it important that it was an Arab teenager if race is irrelevant?
whostolemyhat··on Donald Trump is the president-elect of the U.S.
So in summary, you're voting for an extremist far-right party because:

1. You don't have a girlfriend

2. You blame an entire race for your cousin being raped

3. Women were promoted

4. You feel society owes you thanks and praise.

But you're not a spoiled child.

whostolemyhat··on Ask HN: Overwhelmed with learning front-end, how do I proceed?
Frontend developer here. Everytime I need to create some sort of rich API I discovered that the last framework I learnt was "no longer valid". Happened with CakePHP, Webforms and now ASP.Net 2.

My feeling is that backend development is overcomplicated/overbloated. Specially with the big players (AWS, Play). Lucky me, I found my way with PHP. Simple, elegant, lightweight and fast enough. You don't need a lot of complicated boilerplate, nor learning a new template language or syntax.

whostolemyhat··on Intercooler.js – Making AJAX as easy as anchor tags
Why did you choose to use a custom attribute rather than a `data-` one?
whostolemyhat··on Ask HN: How much traffic does your tech blog get?
I get around 3.5k visitors a month; most of my articles are code snippets or brief tutorials to do with code.

I make around £2 a month from ads on these articles, so it's not exactly lucrative :)

whostolemyhat··on Ask HN: Who wants to be hired? (November 2016)
Location: Bristol

Remote: Yes

Willing to relocate: No

Technologies: Javascript (Node, ES6, React, Redux, Webpack), Python (Django, Flask), HTML/CSS, SQL

CV: https://uk.linkedin.com/in/james-tease-b048a032

Email: james@jamestease.co.uk

Github: http://github.com/whostolemyhat

Website: https://www.jamestease.co.uk

I'm a freelance full-stack web developer with around eight years experience in everything from setting up servers, creating APIs and CMSs and building frontends.

For the last couple of years I've mainly been involved in large-scale SPA sites, including multiple language versions and some running on embedded hardware.

whostolemyhat··on Getting Started with Webpack 2
Are you complaining that things get updated? You don't have to use the absolute latest versions of everything, you can still use older versions if you want.
whostolemyhat··on Getting Started with Webpack 2
That's what a major version is supposed to signify though, isn't it? Most JS/NPM-based projects use semantic versioning, so a major version update means breaking/backwards-incompatible.
whostolemyhat··on GNU Terry Pratchett
I've been sticking Iain Banks in a header as well
whostolemyhat··on Ask HN: Why is everything in JavaScript changing so fast?
I think it's due to the new version of Javascript being released recently after years of stagnation. ES4 was abandoned and ES5 was mainly standardising existing practices, while ES6 has added a lot more - new syntax, new types, iterators, generators, modules and so on.

A lot of the churn going on is due to people trying to work out the best way to use these new features, along with whether or not to keep backwards-compatibility with existing frameworks and libraries.

whostolemyhat··on Nintendo Switch – New Video Game System [video]
Yeah I was wondering about this too - will the 3DS be carried on and essentially be the low-powered option?
whostolemyhat··on Ask HN: Fired at 51 weeks by prominent startup?
Less than 18 months is about the length of time to work somewhere, get a crap raise after an annual review, have a look around and realise you could be better-paid for the same work somewhere else.

Why would you stay at a company where you're being under-paid?

whostolemyhat··on Ask HN: What is your favourite stack for small personal projects?
Usually React, using this boilerplate: https://github.com/davezuko/react-redux-starter-kit which has Webpack and testing already set up.

For APIs I either use Express if it's really small, or Django/Django Rest Framework/Postgres if I want something with admin pages.

whostolemyhat··on Microsoft sued over Windows 10 update campaign
You can remove permissions you've given to an app as well, under Settings > Apps > [App] > Permissions.

I think it will cause the app to ask you for permission again when it starts, but it's good to know it's not a one-time-only option.

whostolemyhat··on Show HN: A simple infinite world in WebGL
Since when do libraries used in your code classify as 'bloat'?
whostolemyhat··on Ask HN: Migrating from Mac to Windows for development
I'd definitely recommend running React/ES6 stack in a VM - I'm using a Windows machine at my current contract, and everything is so much slower when running natively compared with in a VM.

Things like starting up PhantomJS to run tests takes 2-3 minutes when running in Windows, rather than a few seconds on a Linux VM on the same machine. I get the impression that Windows seems to be a second-class target for a lot of front-end tools, so while they'll probably work, just won't work as well.

whostolemyhat··on Ask HN: What's the best way to quickly get up to speed on Java?
The online Oracle Java tutorial is pretty good for getting up to speed with the basics - https://docs.oracle.com/javase/tutorial/
whostolemyhat··on Why nobody pays for Sublime?
I paid for it. It's incredibly useful and I use it every day, and since I expect to get paid for apps I release, why would someone else's work be different?
← PreviousPage 4 of 5Next →