Hacker News new | past | comments | ask | show | jobs | submit | lengads's comments login

Here, for example, is the implementation of `atom` (I think):

  /(atom /{
    /\[\S\+\]/{
      s/.*/[]/
      bpop_context
    }
    s/.*/t/
    bpop_context
  }


The way you can nest conditions in sed, like /foo/ { /bar/x }, is pretty powerful, and I knew a good bit of sed before I realized you could do that. It's not readily obvious from the manual.


The author has won an IOCCC contest. This would have just pricked him a bit.


If this was (the only available) programming, I'd quit.

Kudos, I think, to the author. His pain tolerance exceeds mine by a vast amount.


> If this was (the only available) programming, I'd quit.

We started with nothing, remember? Just the bare metal. If this were the only available programming, I'd write an interpreter for a better language.

Never imagine that your current suite of tools is all there is.


It will be a challenge to make an interpreter for a better language faster than dead slow.

I would bet on a compiler for a better language instead. That way, only one person would have to wait ages and ages. I doubt the result would be fast, but it wouldn't be insanely, insanely, insanely slow, either.


I would much rather hand assemble machine code than program in sed. I imagine most people have a better understanding of how computer architecture works than how to do arithmetic and logic with sed.


I quite like the idea of calling one's workplace a ship. I'll take that expression on board, sea if it floats.


Definitely. Ship that shit.


"[TODO: Too tired to complete the docs. If you feel like contributing, please take a look at the routers and send a pull-request.]"

I approve of this kind of API documentation.


Is that to say that you.. wait, what are you doing?


I have my router serving up TFTP with the following pxelinux.cfg (and the appropriate vmlinuz64 and initrd.img extracted from the b2d ISO):

  LABEL boot2docker
          MENU LABEL boot2docker v0.5.2
          KERNEL boot2docker/v0.5.2/vmlinuz64
          APPEND initrd=boot2docker/v0.5.2/initrd.img loglevel=3 user=docker


I guess s/he owns a second machine and boots boot2docker over the network (PXE = https://en.wikipedia.org/wiki/Preboot_Execution_Environment ) without installing anything on the second machine.



London, UK - CrowdScores http://crowdscores.co.uk - Full stack developer (Python, Javascript)

We would love you to join our small team of passionate hackers to help use crowdsourcing and big-data to improve the collection of football statistics.

A bit about us:

- our website is the fastest source of free football scores

- we assess and improve constantly through daily standups, code reviews,pair programming and fortnightly retrospectives

- we care passionately about the quality of our code

- we use continuous and automated integration and deployment

- we enjoy our work, love our product and strive to build something our users will love too

- we believe in the Delivering Happiness movement

If you join our team, you will:

- work in a self-organising team of like-minded passionate developers

- have the ability to shape the architecture and product design of a small company

- have the authority to chose the right tool for the right job

- ideally have experience working with: Backbone.js, Jasmine, Python, py.test, Django, PostgreSQL, MongoDB and Git

- work with AWS, SaltStack, Jenkins, RabbitMQ and Sass - it would be great if you have used some of these already

What we offer:

- a great working environment in central London

- your choice of development machine with 2nd screen, ergonomic chairs

- investment in learning though pairing, reviews, training and conferences

- flexible working and unlimited holidays

- quarterly hack days

- competitive salary and stock options

If you’re interested, send me your CV and a bit about what attracts you the team: jobs@crowdscores.co.uk


jrnkntl notes above that this update is not available for Mac or Linux.


London, UK - FULLTIME INTERN (REMOTE OKAY) CrowdScores: https://crowdscores.co.uk/jobs/

Do you live and breathe the world of football? Know what makes a good story? Do you enjoy building engaging conversations that leave a lasting impression through blog posts, Twitter, and Facebook? If you’re nodding your head positively to all these questions, we want to talk to you!

You'll get to work in a tight and growing team of smart people working at the heart of the Silicon roundabout to promote a really exciting new product. You'll work directly with the co-founders and will gain invaluable experience helping an early-stage startup grow the hardest thousand users it ever will.

You must be passionate about football, enjoy watching as many games as you can, and be an confident communicator with your finger on the pulse of the game. You must also have a strong understanding of social platforms and communication.

We're happy for you to work remotely and the role offers a subscription to all sports TV channels and any transport costs.

London, UK - FULLTIME PYTHON DEVELOPER CrowdScores: https://crowdscores.co.uk/jobs/

We are looking for an exceptional person to grow our backend team. You should have strong experience in Python and love writing readable, idiomatic code. You will get the the opportunity to work with exciting technologies and large datasets in a real-time environment. We’re currently transitioning our server stack to an SOA built primarily with Nginx, Python, Django, Postgres, and MongoDB glued together with RabbitMQ and running on AWS. In this role you will certainly have the opportunity to influence the technological choices.

Please contact jobs@crowdscores.co.uk and read more at https://crowdscores.co.uk/jobs/


re.findall() returns all non-overlapping matches. We need to use a positive lookahead on the third part of the pattern to stop it from consuming the non-character:

  re.findall(r"[^a-zA-Z]([a-zA-Z]+)(?=[^a-zA-Z])", ..)


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: