HNHacker News
TopNewBestAskShowJobs

jdleesmiller

592 karma · joined July 29, 2012

Cofounder at https://www.overleaf.com Personal site: http://jdlm.info

gmail: jdleesmiller github: https://github.com/jdleesmiller/

submissionscomments
jdleesmiller··on How a Technical Co-Founder Spends His Time
(Author here.) I have now made the source available: https://github.com/jdleesmiller/metime
jdleesmiller··on How to bring science publishing into the 21st century
It's also worth noting that markdown in LaTeX is possible: https://www.overleaf.com/latex/examples/using-markdown-in-la...
jdleesmiller··on How a CTO Spends His Time: Minute-By-minute Data for a Year
It's hosted on github pages, so I guess you will have to wait for github pages to go down again!
jdleesmiller··on How a Technical Co-Founder Spends His Time: Minute-By-minute Data for a Year
Hi there, thanks for the info about resubmissions. I didn't know it was discouraged. My karma keeps increasing when I resubmit this, so I took that to mean that I should keep doing it.

My last submission was with a new title based on feedback in that discussion thread (that CTO was misleading).

Also, can you clarify how you got to 6? Two of those links are the same, and one of them does not seem to work.

Also, it seems from the comments that github pages (where this is hosted) was down while this was on newest, which seems like pretty bad luck. At least now I know that it may get a second chance without me having to do anything, thanks!

jdleesmiller··on How a CTO Spends His Time: Minute-By-minute Data for a Year
(Author here.) Yes, maybe "How a technical cofounder spends his time" would be a more accurate title.
jdleesmiller··on Giant bags of mostly water: Securing your IT infrastructure
The analogy between IT security and car safety is really insightful. However, it's also interesting that cars are two to three orders of magnitude less safe than rail and air travel, respectively, in terms of injuries and fatalities per passenger mile. Maybe we should be thinking about how to make using computers as safe as air travel, rather than as safe as car travel.
jdleesmiller··on Lessons from Building a Node App in Docker
(Author here.) That's a good question. In this case, the main benefit I was after was easy setup of consistent development environments. We have in the past (and still do) use vagrant + ansible for the same purpose, but Dockerfiles are a lot simpler, and people have been less afraid of changing them vs. the slightly crazy ansible playbooks.

It think it's worked pretty well so far, though we have had a few difficulties:

- Particularly in the early stages of development, we've been changing dependencies a lot, and that requires a lot of image rebuilds. They are very consistent, but also a bit tedious.

- For those of us on macs, using docker machine for development hasn't been all that great, because inotify doesn't work for automatic code reloading (watchify, nodemon, etc.). However, they're hard at work on that with the new Docker for Mac.

I'm hopeful that technologies like kubernetes will make it easier to deploy these containers, too, but I haven't really got there yet. Maybe another article some day!

jdleesmiller··on Lessons from Building a Node App in Docker
(Author here.) So far as I can tell, it's not that there are known, specific things that one can do to break out of a docker container as root; it's just that the space of possible things you can do is larger, so there is more surface area for you to attack. So, following the principle of least privilege [1], you should avoid running as root, if you reasonably can, and in most cases it's not that hard to do.

[1] https://en.wikipedia.org/wiki/Principle_of_least_privilege

jdleesmiller··on Ridesharing Algorithms in TransLoc OnDemand
As another Ultra alumnus, I also enjoyed reading this article. It's great to see algorithms like this making a real difference in transit, instead of just being simulated.

It was a somewhat different problem, but FWIW I had more success with the Cross Entropy Method than with Simulated Annealing [1,2]. Maybe one for future research :)

[1] http://jdlm.info/thesis_v11_hyperref.pdf [2] https://www.overleaf.com/articles/minimizing-average-passeng...

jdleesmiller··on LyX – The Document Processor
(Disclosure: I'm a co-founder of https://www.overleaf.com, which is an online LaTeX editor with a rich text view that was inspired in part by LyX.)

I've written several papers in LyX, and I think it was a great way to get started with LaTeX. The main trouble I had with it was collaboration --- since it was a desktop app that not many (possibly none?) of my colleagues used, I couldn't really get anyone else to contribute, except by asking for them to provide text and then mostly manually inserting it back in to LyX.

In the end, they convinced me to just write LaTeX source into an EtherPad, which was fine once I got used to it. And Overleaf is basically just a refinement of this idea.

I hope that Overleaf's rich text mode also helps people climbs LaTeX's notoriously steep learning curve, and I hope it saves them from some of the collaboration problems that I had when I was doing the same. We have some evidence that it is helping, such as these high school students who somehow managed to write a 300 page report in LaTeX using Overleaf [1]. I think that's amazing!

[1] https://www.overleaf.com/blog/289-the-nano-ninjas-building-r...

jdleesmiller··on Korean Shipbuilder Uses Exosuit to Help Build World's Largest Freighter
Another interesting invention is described in one of the figures ("DSME's New Technology"):

Freeze Pirates! - DAPS

DSME launched its new pirate alert system 'DSME Anti-Piracy System (DAPS). ... DAPS is a total ship security system for recognizing and eradicating piracy. By using the ship's radar signal, the DAPS is able to analyze image information. This system automatically judges suspected targets based on the analyzed information. If suspected pirate ships approaches [sic], DAPS will warn the target through a high output speaker and sound an alert on the ship. If the pirate comes closer, a sound cannon or water cannon will be used to incapacitate the pirate.

--

In many ways, that is more impressive (and scarier).

jdleesmiller··on Ask HN: Who is hiring? (March 2015)
Full Stack Engineer - London, UK or REMOTE

Overleaf.com: We build awesome ways for scientists to collaborate and communicate. We're looking for full stack engineers — your projects will span our database (PostgreSQL), web app (Rails, Node), front end (React, Backbone) and infrastructure (Docker, Heroku, EC2, GCP) layers. We also have projects for mobile, if you're into Android or iOS.

To apply, go to https://www.overleaf.com/jobs or drop us a line a jobs@overleaf.com :)

jdleesmiller··on Intro to Docker and how we use it at WriteLaTeX
Yes, we are planning to support ConTeXt on writeLaTeX. I think you can vote for it (or add it) on our feedback forum: writelatex.uservoice.com.
jdleesmiller··on Intro to Docker and how we use it at WriteLaTeX
That's a fair point. I guess I recommended RVM by default, since it's what I usually use. Pull requests welcome! [1]

[1] https://github.com/jdleesmiller/ds-docker-demo

jdleesmiller··on Intro to Docker and how we use it at WriteLaTeX
Thanks! I will see what I can do to add more. Note that the source for the slides is on github [1], so anyone who'd like to pitch in can do so, and that would be most welcome.

[1] https://github.com/jdleesmiller/ds-docker-demo

jdleesmiller··on Intro to Docker and how we use it at WriteLaTeX
Running untrusted programs as root in a docker container is definitely not recommended (and indeed you should be very wary of running anything as root). In the slides, I didn't have time to go into how to run processes in containers without root privileges, but docker does provide features for doing so, and it's definitely worth using them.
jdleesmiller··on Intro to Docker and how we use it at WriteLaTeX
Thanks!

Isolation is definitely one of the main benefits for us. Compared to e.g. a chroot, docker also lets us disable networking and restrict memory etc. for the process in the container. It's another important layer of security.

Another benefit is that the Dockerfile also makes it a lot easier to manage installation of all the LaTeX packages, fonts and various scientific software that we have installed.

The overheads seem to be very low --- less than 100ms extra startup and tear down time, and no significant difference in runtime speed.

jdleesmiller··on Intro to Docker and how we use it at WriteLaTeX
I'm very glad to hear that it was understandable!

I can't say I've used many of the community images. We generally just use the base OS images and install packages as needed. The Dockerfile makes it pretty easy to do.

jdleesmiller··on Intro to Docker and how we use it at WriteLaTeX
Yes, we use a volume to get files in and out of the container, and then we upload the relevant files to Cloud Files for the client.
jdleesmiller··on Intro to Docker and how we use it at WriteLaTeX
They're generated by cleaver: https://github.com/jdan/cleaver

You can see how it's set up in the github repo for the slides: https://github.com/jdleesmiller/ds-docker-demo

jdleesmiller··on Salmon Cannon Fires 40 Fish a Minute
There have been several Personal Rapid Transit [1] systems proposed with this sort of technology, e.g.: http://zapatopi.net/inteli-tube/

[1] https://en.wikipedia.org/wiki/Personal_Rapid_Transit

jdleesmiller··on Ask HN: Who is hiring? (July 2014)
writeLaTeX (https://www.writelatex.com/), London, UK

About Us:

We're building 'Google Docs for Science', making science and R&D faster, more open and more transparent by bringing the whole scientific process into the cloud, from idea to writing to review to publication. Our users have already created more than 1,000,000 documents on writeLaTeX, and it is being used in hundreds of universities worldwide for teaching and research.

We're a London-based startup, supported by Bethnal Green Ventures (http://bethnalgreenventures.com/) and founded by two mathematicians who were inspired by their own experiences in academia to create a better solution for scientific collaboration and communication.

We're looking for a full stack engineer:

You'll be working closely with our team to build new and awesome ways for scientists to collaborate and communicate. We're looking for full stack engineers — your projects will span our database (PostgreSQL), web app (Ruby & Rails, Node.js, Meteor), front end (HTML, CSS, Javascript) and infrastructure (Heroku, Linux on Amazon EC2, RackSpace) layers. We also have projects for mobile, if you're into Android or iOS.

You're an independent thinker and fast learner. You're resourceful and knowledgeable, but you ask questions when you get stuck. You take pride in your work, and you ship it early and often, because you love to see it out there in the real world. You learn new programming languages and techniques for fun, and you contribute to open source.

If this sounds like you, send your CV, current salary, and a link to your profile on github/bitbucket to jobs@writelatex.com. We'll get in touch to arrange an informal interview in person if possible, otherwise via Skype/Google Hangout.

This is an immediate vacancy for a permanent position with a two month probationary period. Working arrangements are flexible. The primary place of work will be at our London office.

We look forward to meeting you!

jdleesmiller··on Rich text editing with WriteLatex
I'd also like to see XeLaTeX become the default, but unfortunately there are still a lot of old documents and journal templates that are not compatible.

In the mean time, we try to auto-detect which engine to use, so if you load the fontspec package, for example, we'll automatically use XeLaTeX.

jdleesmiller··on Rich text editing with WriteLatex
If you click on the gear icon and go to Advanced Build Options, you can turn on XeLaTeX.

It's also worth noting that you can use accented characters with pdflatex: adding \usepackage[utf8x]{inputenc} at the top of your preamble will usually do the job.

If none of that helps, feel free to send us the link to the doc via https://www.writelatex.com/contact and we will have a look.

EDIT: english

jdleesmiller··on Rich text editing with WriteLatex
Some LaTeX incantations are required, but we do support Chinese. Here's an example of one way to set it up:

https://www.writelatex.com/examples/chinese-a-visit-to-qiant...

jdleesmiller··on A LaTeX Resume Template that fits everything AND looks good
Nice template! Here it is on writeLaTeX, in case you'd like to customise it online:

https://www.writelatex.com/templates/deedy-resume/sqdbztjjgh...

I've made a few minor mods to get it compile on Linux --- mainly using Liberation Sans instead of Helvetica Neue, and a few other minor fixes.

jdleesmiller··on What Languages Fix
Thanks for clarifying. And, just to be clear, I'm a big fan of Octave! I used it extensively in my last project, and it worked great.
jdleesmiller··on What Languages Fix
Yes, that's a good point. I guess for SciPy you'd have to add "and plot the results"?
jdleesmiller··on What Languages Fix
For scientific computing:

Matlab: it takes way too much Fortran code to solve Ax=b

Octave: Matlab is closed-source (and expensive)

Julia: Matlab was designed by people who knew a lot more about numerical analysis than programming language design

Python + SciPy: you don't actually need a whole new language just to solve Ax=b

TeX: it's taking too long for people to typeset my books

jdleesmiller··on Ask HN: MS Word alternatives for writing academic reports
Yes, you can sign up for free (https://www.writelatex.com/signup), and there's a lot you can do with a free account.
← PreviousPage 3 of 5Next →