HNHacker News
TopNewBestAskShowJobs

darrhiggs

1,188 karma · joined May 11, 2012

submissionscomments
darrhiggs··on Things we learnt designing 'Register to vote'
It seems[0] as though in british english (.gov.uk) learnt is acceptable.

[0] http://www.usingenglish.com/forum/threads/5331-Ues-of-Learne...

darrhiggs··on Why not to use infinite scroll on your website
For SEO use the next link relation[0] e.g. <a rel="next" href="/resource?page={next_page_in_sequence}" />.

I am assuming more results are loaded based on scroll-depth < 100% + an overlay to stop the user clicking.

Google/bots will be able to activate the link and request the next set.

Uesful resource http://www.iana.org/assignments/link-relations/link-relation...

[0] http://www.w3.org/TR/html5/links.html#link-type-next

darrhiggs··on Spinal cord work 'is a breakthrough'
Interestingly the analysis on the BBC article[0] states:

"[the patients] are also reported to have regained some control of bladder and sexual function - which many paralysed patients regard as more important than walking"

[0] http://www.bbc.co.uk/news/health-26920521

darrhiggs··on Google Now for Chrome
chrome://chrome-urls/ for all the urls.
darrhiggs··on SXSW RIP
To add some evidence:

2013 Glastonbury: 135,000 [0]

SXSW (music): 82,119 [1]

Neither of which compare to anything on this list[2]:

10th EXIT (NOVI SAD, SERBIA): 200,000

1st DONAUINSELFEST (VIENNA, AUSTRIA): 3,200,000

[0] http://en.wikipedia.org/wiki/Glastonbury_Festival [1] http://en.wikipedia.org/wiki/South_by_Southwest [2] http://www.mtviggy.com/lists/the-10-biggest-music-festivals-...

darrhiggs··on Pronunciation errors that made the English language
The Iberian peninsular was inhabited by arabic speakers for over 700 years, there are a huge number of words in castellano (the Spanish language), directly borrowed from them.[0]

In total around 8% of the spanish dictionary is derived from arabic.[1]

[0] http://en.wikipedia.org/wiki/Arabic_language_influence_on_th...

[1] http://cvc.cervantes.es/ensenanza/biblioteca_ele/asele/pdf/1...

darrhiggs··on Tesla Announces Ambitious European Expansion Plans
"In 2013, Tesla delivered 22,477 vehicles to customers worldwide. By the end of 2014, Tesla expects combined sales in Europe and Asia to be almost twice as high as sales in North America. Part of that projected growth will come from the UK, where right hand drive versions of the Model S will soon be introduced. Highly competitive leasing and financing options, similar to a program the company recently launched in Germany with rental company Sixt, are also expected to drive growth on the continent."[0]

[0] http://www.teslamotors.com/en_EU/about/press/releases/tesla-...

darrhiggs··on How much is time wrong around the world?
I don't think it matters if it's convincing or not.

I was answering the question, and the linked resource affirms it was.

darrhiggs··on How much is time wrong around the world?
…also it appears there has been a 10 year campaign by an economist to change the clock in Spain;[0] an organisation [1], and progress (dependant on one's perspective) [2]

[0] http://www.theatlantic.com/international/archive/2013/03/wil...

[1] http://www.horariosenespana.es/

[2] http://www.bbc.co.uk/news/world-europe-24294157

darrhiggs··on How much is time wrong around the world?
Yes, but the 1940's, and before, were different:[0]

""So you used to work in the morning at one job. Then it was necessary to stop to rest. And then there was another job in the late afternoon and evening — in order to earn enough money to survive," she says. "It's said to be the origin of our way of life now.""

[0] http://www.npr.org/blogs/parallels/2013/11/30/244995264/spai...

darrhiggs··on Super Rare NES game in eBay auction at $89,000
Yeah, "In 2011, the same game sold at a charity auction for $11,000 (£6,600) - but it was in better condition."[1]

[1] http://www.bbc.co.uk/news/technology-25878678

darrhiggs··on HTTP Security headers you should be using
To answer your first question: yes[1]

[1] http://www.w3.org/TR/CSP/#matching

darrhiggs··on Searching the Internet for evidence of time travelers
Ignoring the rest of your comment… how would this kill you all?
darrhiggs··on Go away Cameron – Bypass UK's porn filter
>> If this extension violates any law in UK, please send me an email at hello@goawaycameron.co.uk and I will be more than willing to comply.

Is this how the law works?

Citizen: "…um…sorry officer, I didn't know that this is illegal"

Police Officer: "…well, if you didn't know…off you go then"

darrhiggs··on Get information about any country via a RESTful API
>> It's just better to store this data in-house and don't provide unnecessary point of potential failure by using an external service.

Isn't this the point of rfc2616 sec13? I haven't looked, but if there are etags etc then I think a computer is better than a human at looking for new data, no?

darrhiggs··on Introducing Neo900
Neo? http://www.gizchina.com/2013/09/02/neo-n003-review/

Is this the same company, or just a coincidence?

darrhiggs··on Best Practices for Designing a Pragmatic RESTful API
Neither is more (or less) ReSTful than the other.

If you think that consumers of the API would like to see the orders, embed them.

If you think that consumers would like to see an attribute like `total` for the order, embed it.

If you think that consumers would like to see some user_account information, embed it.

If you think that the total size of a collection is too big, paginate.

Tell your users that `X` may be embedded in `Y` and `Y` may be embedded in `Z`.

Write the code that consumes the API to expect the API to change.

HEATEOS is the constraint that matters in REST, all else is provided by the http spec etc.

If you want to paginate, use link realtions: http://www.iana.org/assignments/link-relations/link-relation...

If you want to describe a relationship, use a link relation.

Watch this: http://vimeo.com/20781278 Read this: http://shop.oreilly.com/product/0636920028468.do

darrhiggs··on Show HN: Nunjucks – Node templates with inheritance, asynchronous control
Personally I settled on swig[1] for a recent project. My reasoning being that Nunjucks may contain more features, but, I prefer a constrained set of features that forces me to think twice before I implement & use logic in a view.

It's a great project anyway and it did take 2-3 weeks to decide between the two. Good luck with the project!

[1] http://paularmstrong.github.io/swig/

darrhiggs··on Ireland is to close a tax loophole used by Apple
Ireland 2,200[1], UK + Ireland 19,000[2]

[1] http://www.ge.com/ie/ [2]http://www.ge.com/uk/company/leadership/bios/Mark_Elborne.ht...

darrhiggs··on Geeking Out on the Logo
The origin of a word has ZERO no relevance, how can it? May only French speaking countries be the places where the phenomenon of entrepreneurialism exists, with the phenomenon occurring only to smaller extents in other countries. Invention of a word does not give you the sole or even the greatest entitlement to its meaning.
darrhiggs··on PostgreSQL Basics by Example
I think the search term you are looking for is O.R.M. Object Relational Mapping.

Rather than me explaining it here, the rails guides[1] give you a good overview.

[1] http://guides.rubyonrails.org/active_record_querying.html

darrhiggs··on Russian Man Changes Small Print in Credit Card Agreement, Then Sues
How did you draw the conclusion that the "law doesn't apply to the same extent" as the USA?
darrhiggs··on The Million Dollar Homepage (2005)
Here is another writeup:

http://www.sexeys.somerset.sch.uk/alumni/alex-tew

…and our old school is really called Sexey's.

darrhiggs··on Upton: A Web Scraping Framework
Your app looks really good.

What tech did you use if you don't mind answering?

darrhiggs··on Hikikomori: Why are so many Japanese men refusing to leave their rooms?
"A NEET or neet is a young person who is not in education, employment, or training. The acronym NEET was first used in the United Kingdom but its use has spread to other countries including Japan, China, and South Korea."

This is even mentioned in the BBC article.

darrhiggs··on Using HTML5 prerendering to speed up a multi-page registration process
Thanks for the links.

I tend to use link relations for APIs; I hadn't realised that the HTML5 spec linked to a different registry.

darrhiggs··on Using HTML5 prerendering to speed up a multi-page registration process
So, after scanning through the linked resources at the bottom of the article, it seems as though the `prefetch` and `prerender ` link relations are two different things.

The `prefetch` link relation[1] is registered with IANA, and is part of the HTML5 spec. Its use seems to be to prefetch & cache one asset for subsequent browser rendering.

The `prerender` link relation will tell the browser (chrome) to prefetch & cache an asset and all linked assets required for its rendering.

They seem like they both have a use but only one is part of the HTML5 spec, and it seems that prefetch was only ever implemented in firefox.

I know that Google wants a speedy experience for its users (more users), and it has pushed hard before with things like SPDY, but why not add to the spec rather than fragment?

[1] http://www.w3.org/TR/html5/links.html#link-type-prefetch

darrhiggs··on How far can you overhang blocks?
The article uses the constraint of only allowing one block per level.
darrhiggs··on Google Apps Script
I think I could do this for you. My mail is hn-username@gmail.com (UK TZ for responses)
darrhiggs··on Poll: What would it take for another company to poach you?
Tangentially, I did my degree in Economics and my dissertation on satisficing.[1] There are plenty of SMEs that need the help of a programmer, one that can understand how a business works and what it needs to be competitive.

I started with some of the freelancing sites. It's hard to find decent work, but if you do it with an eye on building relationships it can be worthwhile. (pro-tip, put some money through the site and hire yourself; takes about a week to do without arousing suspicion, but then you have ∞ly more chance of geting hired [$50-100 dollars should be fine])

Business forums for accountants, truckers or anything, can also provide you with leads. Just make sure that you show an interest in their work, not just in getting work from them.

Next, find a way to help the people that you've built relationships with make money. Adwords, I didn't know much about it, but a few hrs later and I had turned a 50€ a day campaign from loosing ~1/2 the π (profit) to doubling every day. (email me for some of the tricks)

Google apps script is just js and easy to learn. With a small number of regexen etc and the simple APIs into google's services GAS gives you, I have been able to speed up ~5-10 jobs that were done daily, from taking ~3hrs, to the time it takes to click a button. Apps that would take a week or two elsewhere are 10hr/day jobs with GAS.

This took about 6 months, but I have been working for about 1yr now at ~10hrs a week and I just ensure that people realise that 10hrs is my schedule and not to ask for more. I'm sure the _value_ I have provided to these businesses would allow me to double my rate tomorrow and face zero resistance; from ~£80k p.a pro rata, and I would say I am a moderate programmer at best.

[1] http://en.wikipedia.org/wiki/Satisficing

← PreviousPage 2 of 3Next →