Random Chitchat 2012-2016
Anyone has some good SQLite tutorial for a noob like me out there?
Thanks given by:
Xoft gave me a SQL for Dummies pdf once: http://puu.sh/iimMZ/b51b76e800.pdf
Thanks given by: tonibm19
So I've spent the weekend near here:
[Image: lysa_hora_pano.jpg]
Unfortunately the hotel was one of the few hidden places where the old time communism still keeps its claw on things. It was supposed to be a "wellness weekend", but everything wellness was rationed. One had to book everything few days in advance, and of course everything was already fully booked. Even the dinner had to be booked - I had to choose from three options the day before, and I got a little stamped paper with my selected option. Another little stamped paper for when I wanted to go to the pool, and it was valid only for a certain hour of the day (I never got to the pool, it was hopelessly overbooked). So overall the "weekend full of wellness" actually meant "one massage" for me. Terrible place!
I even theoretized that the internet was rationed - each packet had to receive a little stamped paper in order to get through, and only every fourth packet actually did. One would think that when the wifi is too weak in the room, that going to the hotel lobby would fix it, but not here - there was NO signal in the lobby at all. Just hopeless.

At least the mountains were great, but since there was nothing else to do, I walked too much the first day and wore my legs out completely, blisters everywhere. 30km distance, with ~2000 meters height-wise along the way.
Thanks given by:
Whoah, it looks amazing there. Too bad the experience there wasn't the greatest Sad
Thanks given by:
We need to think about format strings. With the current logging, neither size_t or std::chrono types can easily be logged, because there isn't a format string for them.
Thanks given by:
I've done some more comparing with normal Lua vs LuaJit using WorldEdit's //sphere command.
Code:
|                       Lua 5.1              |     LuaJit                |      NumBlocks changed
//sphere glass 5,7,6    0.029999999999973    |     0.023                 |      1367
//sphere glass 10       0.090999999999894    |     0.062999999999999     |      4169
//sphere glass 40       5.983                |     3.988                 |      267761

As expected there is only a noticeable change when doing large stuff.

EDIT:
This does include reading and writing to the world.
Thanks given by:
I expect those are times, in seconds? How did you measure, through os.clock()?
Thanks given by:
Yes, I used os.clock() for that.
Thanks given by:
How do you read protoproxy logs? The files are huge.
Thanks given by:
Usually I don't read them all, I just search for whatever piece of information is of interest to me. Usually I search by packet name.
Thanks given by:




Users browsing this thread: 212 Guest(s)