News for hackers. Stuff that matters.

davnola

Re:Favorite Tech Museums on Saturday January 10, 2026 @06:03AM (#46564664)
One of the many reasons to visit Pembrokeshire, Wales:

https://www.internalfire.com/

Lots of running kit you can get close to or hands on with e.g. 4000hp jet generators, telephone exchanges, steam engines etc. plus knowledgeable and passionate staff.

Well worth a couple of hours detour to check out.

Re:We Looked for Work as a Software Development Team on Thursday October 15, 2015 @04:49AM (#10392058)
Yes, but even the best agency will every so often run into a bad client. I think that's analogous to what happened here.
Re:Ask HN: Who is hiring? (October 2015) on Thursday October 01, 2015 @02:07PM (#10313214)
Appear Here | London, United Kingdom | ONSITE | FULLTIME

Ruby/Rails React/Redux IOS Android Redis/PostgreSQL/Elasticsearch AWS/Docker

https://www.appearhere.co.uk?hn is the UK’s leading marketplace for commercial letting. Our platform allows anyone with an idea to book everything from pop ups through to prime Oxford Street locations. It’s been called AirBnB for brands, and our vision is to make it as easy to book a shop as it is to book a hotel room. A surprisingly huge market, and it's in our hands to become the world's leading marketplace.

You’d be part of a small team that is taking Appear Here worldwide, onto new platforms, and deep into masses of valuable data. It's an energetic, committed, challenging, and sane culture. Plus we're a stone's throw from the best lunchtime options in London.

[email protected]

http://appearhere.workable.com/jobs/14626

Re:Analytics on the Cheap on Wednesday March 18, 2015 @12:08AM (#9223550)
This is essentially the same approach as https://github.com/snowplow/snowplow/wiki/Setting-up-the-Clo....

What's neat and novel to me about this implementation is the use of delimiters vastly simplifies loading the raw S3 logs into Redshift.

Re:Ask HN: What's the best way to write an API spec? on Monday January 19, 2015 @02:16PM (#8913486)
Here's a summary of the discussion (RAML vs Swagger vs Apiary vs RSpec...) we had at Lonely Planet: https://lonelyplanet.atlassian.net/wiki/display/PUB/API+Spec...

5 months in, we're happy with API Blueprint. We used to use Dredd for API validation but ran into to some limitations:

- Dredd does not perform any validation against the siren response beyond the first key level. For example, it does not validate if the class-name is user-events, or usr-events

- Dredd does not make any difference between Action parameters and Resource parameters. Then, an action POST to create user-events will have undesired url parameters. E.G: POST /user-events?take=0&skip=2 (The apib blueprint specs allows to make this difference: https://github.com/apiaryio/api-blueprint/blob/master/exampl...)

So one of our devs created a Ruby validator, https://github.com/nogates/vigia. See http://engineering.lonelyplanet.com/2014/11/18/vigia-integra... if you're interested.

What do you mean by "brand name tests"?
Re:Favicon checker on Friday June 06, 2014 @12:53PM (#7859025)
Re:XCOM: Enemy Unknown coming to Linux this summer on Wednesday May 28, 2014 @10:38AM (#7810166)
> marked incompatible with nexus 7

FWIW works perfectly on my 2nd-gen Nexus 7.

Re:The Worst Waiter in History on Monday May 26, 2014 @09:03PM (#7802336)
See also Wong Kei's in London's Chinatown. Its notorious rudeness is/was part of the attraction.

http://www.theguardian.com/lifeandstyle/wordofmouth/2014/feb...

    1. Start scraping all images from http://developer.android.com/training/ inside div.gc-documentation    
    2. Inspect manually
    3. Profit
Fun!
Re:Pkgr, make a package out of a Rails app in 5 minutes on Monday July 22, 2013 @05:14AM (#6082647)
We're trialling cutting packages from Rails apps with fpm[1], plus prm[2] to create the apt repository on s3.

There's a bit of footwork needed to include built gems and correct asset manifests in the package too, but we now have 10-20s deploys, down from 8-12 mins. Plus it has less impact on server resources.

1. http://rubydoc.info/gems/fpm/latest/frames 2. http://rubydoc.info/gems/prm/latest/frames

Re:Straight-edge and Compass Construction Kit on Wednesday June 26, 2013 @08:13AM (#5945486)
This is so much fun. Thanks!
Re:1984, Hungarian Edition on Tuesday June 18, 2013 @09:19AM (#5898942)
Last month Jobbik rallied against the World Jewish Congress in Budapest, protesting "against what it said was a Jewish attempt to buy up Hungary".

http://www.bbc.co.uk/news/world-europe-22413301

They frame themselves as fascist and anti-semite.

Re:"DCI" in Ruby is completely broken on Wednesday January 02, 2013 @04:22PM (#4999394)
Because in general, delegation tends to lead to object schizophrenia. Specifically, SimpleDelegator will leak the original delegatee object when a delegated method returns `self`.

     s = "foo"
     
     d = SimpleDelegator.new s

     s2 = d << "bar"

     s2.object_id == s # true
I think SimpleDelegator is really neat but totally dangerous. Doesn't this ring alarm bells with you?

  # delegate.rb L117
  #
  # Returns true if two objects are considered of equal value.
  #
  def ==(obj)
    return true if obj.equal?(self)
    self.__getobj__ == obj
  end
Re:Measure Anything, Measure Everything (2011) on Thursday November 08, 2012 @11:59AM (#4758623)
We use StatsD and Graphite a ton at lonelyplanet.com: http://bit.ly/lp-perf-and-metrics
Re:AWS outage summary on Saturday October 27, 2012 @08:02AM (#4705981)
Haha. I'd love someone to release a greasemonkey/userscript for that status page to make degraded service more obvious.
Re:Ceefax: The early days on Tuesday October 23, 2012 @08:28AM (#4687716)
Brings back happy memories of hacking on the BBC Micro.

    > MODE 7
    > PRINT CHR$(136);"GOODBYE CEEFAX!"
Re:Vagrant core no longer tied to VirtualBox on Monday August 20, 2012 @04:44AM (#4406751)
veewee is being merged into vagrant.
Re:Rare Are GC Talks on Saturday August 04, 2012 @03:45PM (#4339437)
I recommend Elise Huard's recent talk on Ruby GC: http://skillsmatter.com/podcast/home/ruby-bin-men

(Also, I'd love to see the Hungarian Folk Dance interpretation of different GC approaches http://t.co/l8ADbEQR)

Re:Improve your beta-testing with Nginx, Lua and Redis on Wednesday June 27, 2012 @11:26AM (#4167455)
Lovely. We do something very similar in front of EC2 clusters with http://openresty.org/
Re:John Peel’s Record Collection to be Made Public on Monday April 30, 2012 @05:46PM (#3911706)
Cheers! Really enjoyed making it!

I compiled a JSON index of all the tracks from various sources. The site loads the index and calls the YouTube API to find the best match video. Simples! I manually blacklisted and whitelisted some video ids as reports of missing/broken tracks came in last year, but it's pretty robust as videos come and go.

Re:John Peel’s Record Collection to be Made Public on Monday April 30, 2012 @04:37PM (#3911334)
In the meantime, you can listen to every track from every John Peel Festive 50 at http://peelplayer.com

Disclaimer: it's a site I hacked together in a few hours for John Peel day last year

Re:A Better Strategy for Hangman on Thursday March 29, 2012 @02:40PM (#3772440)
IIRC "zo" is also valid. It's a Tibetan yak hybrid.

Hmmm... Yak butter tea.

Re:7 Years Of YouTube Scalability Lessons In 30 Minutes on Monday March 26, 2012 @03:46PM (#3758326)
I've heard it called "splay" before e.g. `chef-client` will take an interval option and a splay option. Splay is a random amount of time added to the interval to prevent thundering herds.
Re:The "Surprise Exam" paradox on Friday December 16, 2011 @11:26AM (#3361111)
The students' anticipations of the exam are their anticipations of the exam. I don't see the circularity yet. It's clearer in the Liar Paradox.
Re:The "Surprise Exam" paradox on Friday December 16, 2011 @10:54AM (#3361018)
Perhaps it can, but the challenge then is to identify what's different about the professor's statement from a statement like "It's raining". Why doesn't the first have a definite truth value, but the second does? (What the professor himself believes is not relevant to the actual truth of his statement.)

You might be interested in verificationism http://plato.stanford.edu/entries/logical-empiricism/#EmpVer... (apologies if you know about it already).

Re:The "Surprise Exam" paradox on Friday December 16, 2011 @10:34AM (#3360958)
The truthmaker for whether it is a surprise or not clearly depends on their own belief states. They are reasoning about what they would or would not believe in different circumstances, so they should include a premise about their belief states in their induction, otherwise their reasoning is unsound.

They reason, if there is going to be an exam, and it hasn't happened by Thursday, then it will happen Friday, and we would believe it would happen on Friday and it cannot be a surprise.

They should reason like this: if there is going to be an exam and we believe there will be an exam, and it has not happened on Thursday &c then it cannot be a surprise.

But, they stopped believing the exam was happening. Doh.

EDIT: formatting

Re:Report: Iran Hacked, Hijacked U.S. Drone on Friday December 16, 2011 @03:39AM (#3360026)
No, the Russians occupied several Georgian cities, including Poti, Gori, Senakie, and Zugdidi.
Re:Luvit - Lua + UV + Jit = NodeJS re-implemented in Lua on Thursday December 01, 2011 @04:37AM (#3298980)
and also https://github.com/ezmobius/super-nginx, an even bigger Swiss Army knife.
Re:HTML5's time is back on Friday November 04, 2011 @06:57AM (#3195585)
To give just one example, microdata and RDFa (as well as microformat) contribute to Google search snippets, map location etc.: http://www.google.com/support/webmasters/bin/answer.py?answe...

Older »