News for hackers. Stuff that matters.

intranation

Re:Choosing Go to implement the new GOV.UK router on Monday December 09, 2013 @07:39AM (#6874001)
Openresty and Lua are great, but Go is a more generally applicable language for building web services. So when taken in that context Go makes more sense if we look at it as a learning exercise as well as a new part of the stack.
Re:Choosing Go to implement the new GOV.UK router on Monday December 09, 2013 @07:13AM (#6873944)
We did have some configuration - it was stored in Varnish and Nginx. The time cost of shipping new redirects when content is moved or new routing configuration for new tools coming online is non-negligible, particularly as we're in the middle of moving 300+ government agencies onto the GOV.UK platform. Also having all those redirects, friendly URLs, and application mappings in static configuration makes self-service publishing tools very difficult to build.

This is all outlined in the blog post - perhaps not as clearly as I would have liked, though!

Re:Cargo Cult CSS on Monday October 21, 2013 @07:59AM (#6584868)
Not sure what that has to do with semantics. Are you saying that NAV etc. aren't valid semantics on applications?
Re:Start Using Emacs – A Thorough Guide for Beginners on Wednesday September 04, 2013 @05:59AM (#6326533)
PATH, exec-path etc. are mangled because of the way OSX loads environment variables. Here's an Emacs package that fixes that:

https://github.com/purcell/exec-path-from-shell

Re:Feedbin is Open Source on Tuesday August 27, 2013 @02:40PM (#6285301)
This is a great move for me, and I hope ultimately for Ben. This way I'm empowered to fix my own issues, and pay someone else to run it for me.
Re:GNU Emacs 24.1 released on Sunday June 10, 2012 @10:31AM (#4091136)
It's opt-in, otherwise most packages would break.

To enable it per-file use a file-local variable:

  ;;; -*- lexical-binding: t -*-
Re:Take my money, HBO on Wednesday June 06, 2012 @02:07AM (#4072640)
Not sure about radio, but black and white TVs are cheaper (£49 vs £145.50).

http://www.tvlicensing.co.uk/about/media-centre/news/black-a...

Re:The 501 Developer Manifesto on Tuesday April 17, 2012 @02:57PM (#3854364)
I think the learning programming thing falls under "personal creative projects", and I am with you 100%.
Dashes map more cleanly to existing CSS syntax, eg nth-child, background-color, etc. Much like camelCase looks more like Javascript than my_variable.
Re:Dear Github, please fix the Watch-Button on Tuesday February 28, 2012 @03:08AM (#3642372)
It might force the developers to commit more in the granular Git way, but it doesn't force bug reporters and discussions to be more mindful. Looking at my timeline, and following Backbone.js and Handlebars, about half my feed on any given day is discussion from 2 or 3 bugs on each of those projects.

So even though the committers might be mindful, doesn't mean all the users of a project are.

Re:WebSockets versus REST? on Monday February 27, 2012 @05:05AM (#3638434)
WebSockets don't have much startup time at all really. If you're using Socket.io or another Flash-based abstraction you can expect long lead/start up times due to the Flash policy file, but plain old WebSockets should be as fast as any other TCP connection.
Re:Why I Still Use Emacs on Monday February 20, 2012 @08:10AM (#3612294)
Emacs gets a new release frequently. 24.0 is about to come out (it's in pretest), and 23.4 was just released.

Also, since it's a Lisp machine, it doesn't necessarily need to have IDE features added - you can just write your own extension in Emacs Lisp.

Re:Why I Still Use Emacs on Monday February 20, 2012 @05:20AM (#3611951)
Multi-threading is asked for because when you run a complex thing in a single buffer (i.e editing something over Tramp mode, compilation, magit doing Git operations etc.) it can block the editor.

Hence, multi-threading is a potential solution to that.

Edit: spelling

Re:RBS shuts down startup accounts (Smarkets and others) on Monday February 06, 2012 @11:57AM (#3558089)
I was specifically addressing the notion that gambling is risky or "low profile" (which I assume to be a synonym for shady) with regards to the "appetite for risk" reason stated by RBS in their letter.
Re:RBS shuts down startup accounts (Smarkets and others) on Monday February 06, 2012 @10:06AM (#3557616)
Disclaimer: I'm a Smarkets employee.

Well it's not entirely clear that it's just related to gambling - Betfair, the UK's largest betting exchange, do all their merchant transactions (customer deposits and withdrawals) through RBS as well - given they're directly linked to credit cards the risk of chargebacks etc. is clearly higher than a day-to-day business account that is mostly used to pay employee salaries (as presented in the article, Smarkets client funds are ring-fenced in a Maltese bank). The obvious difference to me is that Betfair is a multi-million pound company and Smarkets isn't.

Re:Bootstrap 2.0, From Twitter on Wednesday February 01, 2012 @02:42AM (#3537107)
`i` is for "italic", and that quote means that you should be using `font-style` instead of an HTML element to make your text italic.
Re:Mail Pilot: Email Reimagined on Saturday January 21, 2012 @03:47PM (#3494540)
Because it's not an app in the regular sense, it's an email filtering and tagging web service. You'd be paying for their servers crunching your emails over the time you were subscribed to them.

Edit: From their FAQ:

  Mail Pilot is more than an app; it's a comprehensive online software
  service. It runs on servers, and delivers and syncs content between
  every Mail Pilot app that you might use.

  You can access Mail Pilot through a number of desktop, native
  mobile, and web applications. To make this possible, Mail Pilot adds
  services to your existing mail accounts that it syncs between all of
  your devices. Our servers store metadata about your messages (not
  the messages themselves, however!) to bring to you the reimagination
  of email that so many have come to love.

  Mail clients can get away with charging one time. Our apps are all
  free, but the service is paid for, much like other online
  productivity and email enhancement services.
Re:Advanced programming languages on Tuesday January 10, 2012 @04:53AM (#3446375)
We use Erlang to run our (several million messages a day) WebSockets implementation. It's been fine, way more stable and less resource intensive than the equivalent Tornado server.
Re:Emacs for the rest of us: ErgoEmacs on Friday December 23, 2011 @03:14PM (#3387068)
Not sure about having an editor in a browser, but if you want a (mostly) decent IRC client in the browser you could try:

https://irccloud.com/

I have 3 invites if anyone wants to email me (my email is on my profile).

Re:Twitter releases new JS template engine: hogan.js on Thursday December 22, 2011 @12:46PM (#3382463)
If they're using Node (and I assume they are, based on the fact that it's a Node.js podcast), I don't really understand why they wouldn't render the HTML server side (I may be showing my age by asking this) instead of relying on the client to render it.
Re:Twitter releases new JS template engine: hogan.js on Thursday December 22, 2011 @11:38AM (#3382117)
It's not another JS template engine - it's a pure JS implementation of Mustache that's apparently significantly faster than Mustache.js.

They also support compiling of templates for deployment purposes, which is nice.

Re:Good news: Mozilla fixed their damn browser on Tuesday December 20, 2011 @04:00PM (#3375138)
Chromium and Chrome are identical except for one compile flag (which means you can at least check it yourself):

http://news.ycombinator.com/item?id=3034755

Re:Modern Web Applications are Here on Tuesday November 15, 2011 @10:04AM (#3238388)
Working with Javascript off != accessibility. Most screenreaders (the common face of accessibility technology) run on top of regular browsers, so your JS experience needs to be accessible too if you are legally mandated to (or even better if you care).
Re:Vi and Vim vs. Emacs Shootout and Deal on Monday November 07, 2011 @07:50AM (#3206047)
There's some HN discussion about the new release:

http://news.ycombinator.com/item?id=2059909 http://news.ycombinator.com/item?id=1181589

And another link I found helpful:

http://batsov.com/Emacs/2011/08/19/a-peek-at-emacs24.html

But yes, your plan is a good one. Start by running

  C-h t
to get the native tutorial, then ramp up from there. I'm afraid I don't know many good online tutorials as I work with Emacs power users, but Stack Overflow has always been quite helpful for learning Elisp.
Re:Vi and Vim vs. Emacs Shootout and Deal on Monday November 07, 2011 @07:05AM (#3205925)
The Emacs book was written in 2004 and is about Emacs 21.3. Current Emacs is 23.3, with 24.0 in pre-test.

I know things are relatively stable in Emacs world, but a fair bit has changed just from 23.x to 24.0.

Re:Introducing GitHub Enterprise on Tuesday November 01, 2011 @04:45PM (#3184060)
Not 25 devs (although that doesn't necessarily change the salary question) - if you want to go "full GitHub" and use the issue tracker for everything, you want all your staff to have access.
Re:Introducing GitHub Enterprise on Tuesday November 01, 2011 @02:45PM (#3183491)
I hope they're going to offer pro rata on seat volumes between multiples of 20. If I have just 25 users it's $10,000 (assuming their pricing widget is completely accurate).

Older »