Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
catwell
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
181.
▲
by
catwell
10y ago
I have been using something like this for years (a French service from my banking group called Virtualis). I have no idea why it's not more frequent. The main thing to be careful about is not to use this to pay for things where you wil
182.
▲
by
catwell
10y ago
I used WebOS, and I agree. I really enjoyed my Pre3. I could never bring myself to like Firefox OS. The best now is Jolla, which I don't think has failed at all yet (I have a Jolla C, I wrote about it shortly here: https://b
183.
▲
by
catwell
10y ago
There was a good start of an answer to that in Perspectives [1] (and later Moxie's Convergence), but sadly those projects are technically dead now. I still think those were good idea, but nothing is ever going to replace CAs without th
184.
▲
by
catwell
10y ago
I have to agree here, however this is mostly not an issue if you use luacheck, assertions and unit tests. Still, stronger typing would help, and this is why several people are working on adding gradual typing to Lua. The main initiative is
185.
▲
by
catwell
10y ago
> 1-based indexing is just a silly departure from decades of ingrained thinking This on only true for (not too old) programmers. - Older programmers, taught pre-C, may remember that most languages were typically 1-based (Fortran, Pascal,
186.
▲
by
catwell
10y ago
Ravi is interesting and well known in the Lua community, but it is far from the performance of LuaJIT. I don't think a LLVM-based JIT compiler will reach that level of performance anytime soon.
187.
▲
by
catwell
10y ago
It is a CPU from RDC (Taiwanese manufacturer). It is 486-compatible but misses some instructions from later Pentium sets.
188.
▲
by
catwell
10y ago
Well, I have hit three different bugs in five years using LuaJIT, two of which I was the first to report. You cannot consider it as stable as, say, GCC. Regarding your second point: Mike Pall had no intention to catch up completely. I don&#
189.
▲
by
catwell
10y ago
I wrote that article, just found out it was on the front page of HN today. The machine linked in the article can not even run the unmodified interpreter (or at least it could not at the time) because its CPU does not support the CMOV instru
190.
▲
by
catwell
10y ago
No, it's almost the opposite. This kind of thing started happening for the same core reason they added management: because of the Tom Preston-Werner / Julie Ann Horvath scandal two years ago. It made them understand the importance
191.
▲
by
catwell
10y ago
How hard would it be to make a preemptive Forth system? Not that much, I suppose. Or we could have hardware like GreenArray chips [1] with many cores (144) so that every application could have its own core and preemption would not even be n
192.
▲
by
catwell
10y ago
Well, the view that we can do without "Operating Systems", or rather have the language be the operating system, is not new. It has always been pretty popular in the Lisp, Smalltalk, Forth... communities. Daniel Ingalls famously wr
193.
▲
by
catwell
10y ago
The link shows a blank page for me (Firefox, Arch Linux). I can read the article on the home page ( https://nalaginrut.com ). It is interesting that you chose to implement Lua 5.2. Why choose 5.2 over 5.3 (the most recent version)
194.
▲
by
catwell
10y ago
In France at least they made "insufficiently securing your home network" an offense. So you could argue that you have a guest network (or were hacked) but you would still not be in the clear.
195.
▲
by
catwell
10y ago
I have been using Gandi for 10 years and they are definitely great. I see no reason not to use them, except maybe that they usually aren't the cheapest.
196.
▲
by
catwell
10y ago
In theory, if the receiving end enforces TLS and if the sending end checks that the certificate is valid for the domain, you don't need to trust the DNS or the registrar. But nobody does that, and you still have to trust the sender.
197.
▲
by
catwell
10y ago
Also, TOTP is kind of secure if you never log into the website from the device that has the authenticator. Otherwise, it is pretty vulnerable to attacks that target the client. IMO the real issue here is that almost all websites consider th
198.
▲
by
catwell
10y ago
That's kind of a digression, but the Lua GC is pretty simple (which is good) and not so efficient. The LuaJIT GC has some interesting features but sadly Mike Pall did not complete all of his plans for it. What makes LuaJIT so efficient
199.
▲
by
catwell
10y ago
To be honest when I said that I can was thinking about how less boxing occurs in (statically typed) functional languages. But like you and others said in the thread immutability can actually result in the creation of more objects, they just
200.
▲
by
catwell
10y ago
Thank you for the explanation. I will read the links as well. Even if I don't use it, the design of Erlang is an interesting topic to study.
201.
▲
by
catwell
10y ago
The issue is not really the VM, it's the language. GC performance is somehow tied to the number of objects it has to deal with. Java code tends to be object-oriented and create a lot of objects. Functional code can create significantly
202.
▲
by
catwell
10y ago
Well, for Erlang it's pretty easy. Also including WhatsApp servers, Riak, a lot of router code... The question is still interesting for the other two languages though.
203.
▲
by
catwell
10y ago
Or use 1-based programming languages :) I have implemented several algorithms from papers in Lua and that played in my favor more than once.
204.
▲
by
catwell
10y ago
I am not sure we can make cities that are great to live in beyond a certain size. I don't know about the US, but in Europe smaller cities (less than one million citizen) do not have the systemic problems than larger cities have. Howeve
205.
▲
by
catwell
10y ago
I would say several things: - Its small size (the PUC Lua codebase is about 15000 lines of C and compiles to about 250 kB). PUC Lua is the reference implementation of Lua, as opposed to e.g. LuaJIT. - Its portability: PUC Lua is written in
206.
▲
by
catwell
10y ago
tl;dr This is a book about how to make a 2D JRPG in Lua (with a C++ engine). The source code of the engine and the art assets ship with the book.
207.
▲
How to Make an RPG
(howtomakeanrpg.com)
331 points
by
catwell
10y ago
|
96 comments
208.
▲
by
catwell
10y ago
Note that Octave Klaba is not French. His mother tongue is Polish. Also, he is not CEO of OVH anymore (he switched to a CTO position last year).
209.
▲
by
catwell
10y ago
Also, NTFS being a much better filesystem than HFS+, there was a lot less incentive to switch.
210.
▲
by
catwell
10y ago
I have heard some companies have already started doing that a slightly different way, without the need for different hardware design. They buy several inexpensive routers that can only hold the top 10% of the routes (that represent 90% of t
More ›