Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leijurv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
leijurv
5y ago
Yes, so Minecraft is exactly that. Any "I have mined this block" further than 6 blocks away from the player is ignored. The problem is that on a laggy server, an honest client can end up sending this, if the server lags out for mo
32.
▲
by
leijurv
5y ago
:)
33.
▲
by
leijurv
5y ago
Nothing so advanced, I'm afraid. The Monte Carlo system just creates a thousand points (2d position and velocity), and simulates them at 1 generation per second, culling points that are unlikely and reproducing points that are likely b
34.
▲
by
leijurv
5y ago
That is not correct, this patch is meant to prevent block break desync, which is when your client and the server disagree about what blocks are placed in the world. If the server discards/ignores anything your client sends, the server
35.
▲
by
leijurv
5y ago
This is one of life's great mysteries. Given the hosting provider for 2b2t, we know pretty much for a fact that the packet spam from 2018 and 2019 (before I knew about the project ;)) would have cost tens of thousands of dollars in ban
36.
▲
by
leijurv
5y ago
Mostly learned as I went! I had never before implemeneted Monte Carlo localization, or DBSCAN, or a disjoint union find; it was a lot of research and trial and error. I'd honestly recommend Wikipedia! I also read a lot of blog posts su
37.
▲
by
leijurv
5y ago
Yes, Forgegradle was used. Frankly, not much interesting here, just a whole lot of work going through all the Minecraft code, and using Java reflection where possible and JVM bytecode injection otherwise. There's a lot of access transf
38.
▲
by
leijurv
5y ago
Yes, I probably should have credited that video to be honest.
39.
▲
by
leijurv
5y ago
Correct, loading a pearl and respawning would throw us off the trail. This is why our aim was to follow the initial travel to the base location, rather than a future pearl TP. The easiest advice in order to throw off nocom is to travel in a
40.
▲
by
leijurv
5y ago
Yes, this is a very fair question to ask. Of course, on the one hand, I could just say "this was fair game". The "point" of choosing to play on this server, is that it is THE no-rules server. The people who stick aroun
41.
▲
by
leijurv
5y ago
There's a section called "The entire thing summed up in three sentences" in the linked GitHub README.
42.
▲
by
leijurv
5y ago
Hard to estimate, probably a few hundred hours from me, and a comparable amount from others. As a random data point, I sent 53000 messages in the group chat developing it. ¯\_(ツ)_/¯
43.
▲
by
leijurv
5y ago
Lol! Sorry for getting it locked, it is reversible if you still have the email. Mojang, it appears, didn't like spam login from a different cloudflare warp IP every few minutes...
44.
▲
by
leijurv
5y ago
I actually helped convince Sato in Feb 2020 to call it "automation period"; some other ideas were "age of fragmentation" (referring to how group alleigances were becoming split, with players in more than one group at a t
45.
▲
by
leijurv
5y ago
One reason might be that this only existed in Paper, which is a downstream fork of Spigot, which is (sort of) a downstream fork of CraftBukkit, which is a set of patches to the official minecraft server. Another reason might be that this on
46.
▲
by
leijurv
5y ago
Yes absolutely, for fun! Of course, it's also fun to have a secret project that no one knows about, to get an edge. 2b2t is practically the only Minecraft server that allows any kind of hacking your client (without getting banned), whi
47.
▲
by
leijurv
5y ago
I am not done with university yet, so I don't speak confidently. But I'm afraid I have no special perspective, I just echo what I hear a lot: Learning by doing is probably the most important, but structured courses provide a theor
48.
▲
by
leijurv
5y ago
Sure! For monitoring on a meta-level, we used Prometheus and Grafana. Here's what that looked like near the very end: https://www.dropbox.com/s/ktlvvtmppq64u8o/trimmed%20grafana%... Since the ratelimit was he
49.
▲
by
leijurv
5y ago
Surprised to see this posted again, I wrote this, feel free to ask me anything!
50.
▲
by
leijurv
5y ago
Hi, this was me. That article has a lot of inaccuracies, typos, and general mistakes due to it being a summary of a YouTube video. I recommend instead looking at: The video it is summarizing https://www.youtube.com/watch?v=e
51.
▲
by
leijurv
6y ago
> My pet peave is the way sqlite accepts non-aggregated columns in a GROUP BY query. Funnily enough, this is my favorite feature of sqlite that I wish other RDBMSs had :)) There is no easy equivalent to `SELECT order_id, status AS latest
52.
▲
by
leijurv
6y ago
Nuclear reactors are better and have economies of scale, it doesn't make much sense to everyone have their own.
53.
▲
by
leijurv
6y ago
> The people contributing to WP - the editors - seem more concerned with coming up with Kafka-esque processes to introduce to the community than making the actual work of making an encyclopaedia. I might take a look at https://
54.
▲
by
leijurv
6y ago
It's your lucky day! https://live.infrapedia.com/app
55.
▲
by
leijurv
6y ago
https://en.wikipedia.org/wiki/Wake_(Sawyer_novel)
56.
▲
by
leijurv
6y ago
Oh no, not the dark mode! The sacrifices we have to make for performance I guess...
57.
▲
by
leijurv
6y ago
Someone needs to get these lava lamps plugged back in ASAP!
58.
▲
by
leijurv
6y ago
I've obliged.
59.
▲
by
leijurv
7y ago
Yes, exactly! One of the winning entries at http://prize.hutter1.net/ (challenge to compress English Wikipedia) is/was a LSTM that predicted the next character then used arithmetic coding on the final bitstream (correc
60.
▲
by
leijurv
8y ago
It seems like in this protocol, such a cleanup wouldn't even be possible... if transactions can have only one input
More ›