Hacker Newsnew | past | comments | ask | show | jobs | submit | zeke's commentslogin

My kids played Minecraft, and one installed Lua to automate parts. Occasionally he would show me what he was working on and I could offer suggestions.

We also set up a Linux computer as a Minecraft server and I was available to help with questions. It is a beginner level admin job with a purpose they can see.

If she has an idea for a web page or service, help refine it to something possible and implement.


You can use <shift>v then move to your start line and type y or d. This way you see the text marked before yanking or deleting. <control>v is similar. And gv will reselect the marked area.


And if you have line numbering on you can y123G. I learned enough Vim 25 years ago to be good enough and I'm happy I did. When I was writing code every day I picked up a little more but I've lost most of it, and what I'd want people to know who are considering it is you never need to be a Vim Master. You can learn enough Vim in 30 minutes to make it beneficial to you for the rest of your life.


I turn on relative line numbering so that y123G might be y8j and vim will show me the 8.


mapbox maps seemed to be down for a few minutes about an hour ago. I wonder if it is related.


myHetzner$ uptime

19:08:00 up 1709 days, 16:01, 2 users, load average: 0.00, 0.00, 0.00

I'll probably just order a newer server and move over before rebooting now. There is no money riding on it.


For reducing the number of points I've often used mapshaper.org.

For deciding if a user is in Texas you could create a simple polygon completely inside Texas and one in Oklahoma. 99% would fall in the simple polygon and the rest go to the detailed polygons. Or create bounds near the complex river borders and use the detailed polygons there.

On the other hand I just use simple, non-optimized functions for qquiz.com.


> For deciding if a user is in Texas you could create a simple polygon completely inside Texas and one in Oklahoma.

This seems like the obvious optimized v1: create extremely compressed (simplified) polygons wholly within the proper geopolitical borders. You get 100% true positives for a significant fraction of queries, and any negatives you can still kick to GMaps. I understand wholly-local is the goal here, but as others have pointed out, even small error rates can be unacceptable in some scenarios.


Yes, just paying for the between spots is exactly what I thought later in the day. Then check every month which areas cause costs and add those to the in-house polygons.


In 2001 in the small town of Hartsville SC, one of the youngest code breakers gave his last two public talks. He had been hired by Turing because he was one of the few studying both math and German at the start of the war.

Besides being very interesting it felt odd to hear all this in such an out of the way place. Well after the war he collaborated on some books with a professor teaching at the college there.


:Lexplore opens a split window with a directory listing you can navigate.

:33Lexplore opens the split with a slimmer, 33% width, window. :Lex<tab> to autocomplete if you do not want to type as much.


To not load openstreetmap's servers, you could pull the tiles to your server and host them. Then only grab a tile from OSM when you are missing one.

This would also let you set the grayscale on the tiles using imagemagick convert.

Neat project and thanks for the write up.


I read it last year after it was mentioned here. Thought it was nice that pg had a cameo at the end of the book.


I worked at an investment bank in the New York area. Employees had a two week lockout each year.


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

Search: