Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
catwell
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
271.
▲
by
catwell
12y ago
There is nothing specific to replication in the Stripe issue. They noticed a well-known problem which is that, with large datasets and some categories of hardware, forking to snapshot to RDB takes a long time (can be a few seconds) and bloc
272.
▲
by
catwell
12y ago
And not portable (or safe, for things like path manipulation). But sure, you can still use os in small scripts.
273.
▲
by
catwell
12y ago
s/99/89/ :) I would not be so radical about Lua not being fit for general purpose use. Historically turning Lua into a general purpose language has been the goal of the whole Kepler project. Whether they succeeded or not is a
274.
▲
by
catwell
12y ago
This "indefensible omission" is solved by using LuaFileSystem. Not having it in the core language is not such a problem. Another example is sleep(), which is not portable. You can find a sleep function in libraries like LuaSocket
275.
▲
by
catwell
12y ago
Advantage 1 is the main reason why today's Lua is not as complex as today's JavaScript, despite Lua being older.
276.
▲
by
catwell
12y ago
A lot of modules are pure Lua. They may depend on a few critical C libraries though. But with just LuaSocket, LuaFileSystem and maybe LPEG you can use most modules. There are several ways to build those critical Lua modules statically, one
277.
▲
by
catwell
12y ago
No, you can use environment variables to choose at runtime (first paragraph of http://luarocks.org/en/Config_file_format )
278.
▲
by
catwell
12y ago
Note: I am not the author of LuaRocks ( https://news.ycombinator.com/user?id=hisham_hm is), just a user. Regarding distribution, what OS are you talking about? LuaRocks is available in Homebrew for OS X and as a package in m
279.
▲
by
catwell
12y ago
There is basically only one person working on LuaRocks. He is also a PhD student and the maintainer of htop. Given this I think anything is "excusable". Package signing is an important feature to have but it requires resources to
280.
▲
by
catwell
12y ago
Pure Lua modules do not need to be cross-compiled. Simple C-based modules using the "builting" build back-end will probably work well with cross-compilation just by setting a few variables (CC, LD, CFLAGS...). More complex modules
281.
▲
by
catwell
12y ago
I wrote Lua Toolbox in Lapis mostly to experiment with it. I think the framework has a lot of potential but I have two main issues with it: 1) It is written in Moonscript, which makes understanding its internals harder for Lua programmers.
282.
▲
by
catwell
12y ago
Speaker here, funny this got picked up by HN over a year after my talk. Why makes you think LuaRocks is not the best package manager for Lua? As far as I can tell, it is. Things have changed since last year, too! My suggestion of slide 40 (
283.
▲
by
catwell
12y ago
It is interesting that I often see people coming primarily from a strongly typed language say this kind of thing, whereas people used to working in dynamic languages rarely make obvious type errors. This says something about what tooling do
284.
▲
by
catwell
12y ago
In Lua the user manual is the reference, so if the language does something different, it is considered a bug. If something is not described in the manual then it is an implementation detail (unspecified) and code that relies on it is broken
285.
▲
by
catwell
12y ago
For what it's worth, I wrote https://lua-toolbox.com/ (a website referencing all Lua rocks which users can endorse). A search engine will allow you to discover tools you are looking for, but sometimes you do not know e
286.
▲
by
catwell
12y ago
I disagree strongly with that. Penlight is the closest thing there is to a Lua standard library (loosely modeled after what exists in Python). It is maintained by Steve Donovan who is one of the most active members of the community and the
287.
▲
by
catwell
12y ago
Usually 20%, not 50%. Also, non-competes must be limited in time and space. They were initially designed for the sales force, not engineers.
288.
▲
by
catwell
13y ago
Your 80 year old grandmother probably already doesn't verify that her vote conts at every step. Once you have placed the ballot in a box, you have to be there in the evening to actually count the ballots. And then you have to check tha
289.
▲
by
catwell
13y ago
As always you can always find anecdotes going both ways. I am French and a public hospital actually forgot my father in a room for a week. He needed surgery, not urgently but in the meantime he had to be kept sedated. They kept him on morph
290.
▲
by
catwell
13y ago
DynamoDB was released in 2012, Cassandra in 2008, so it is definitely not a clone of the former :) It is loosely based on the Dynamo paper like most modern distributed databases, but Dynamo and DynamoDB are very different things. Riak could
291.
▲
by
catwell
13y ago
Bitcoin Central is relatively good. They have been hacked before, but the exploit was actually against their hosting provider's dashboard...
292.
▲
by
catwell
13y ago
> Interestingly I lived near Roubaix for a while and never noticed a data center :) Then you may be interested in this thread: https://lafibre.info/ovh-datacenter/data-center-ovh-roubaix-... They also have datacente
293.
▲
by
catwell
13y ago
Every time I see that name (Nimrod) I think it is about http://www.messagelab.monash.edu.au/Nimrod Why can't people find original names for software? :(
294.
▲
by
catwell
13y ago
I think you should all read this article again: http://venturebeat.com/2013/09/18/can-this-startup-steal-nod... The reason this escalated so quickly is not gender issues. This is a power play between the two
295.
▲
by
catwell
13y ago
About "uncle Joe": in France the most popular equivalent is "Madame Michu" (female). And a lot of people consider this is sexist.
296.
▲
by
catwell
13y ago
Interesting. Are you using Go in VLC? If so, where?
297.
▲
by
catwell
13y ago
Those refinements are nice. Pre- and Post- conditions are illustrated, is there any way to describe an invariant? Also, maybe you should have called them something else since a lot of people will think about completely different when they h
298.
▲
by
catwell
13y ago
This is not really caching. Caching is about not hitting the network to get data you have already gotten before. Offline is about having an application that works correctly in the absence of network, which means preemptively getting all or
299.
▲
by
catwell
13y ago
For comparison, here is a recent JVM in Lua: https://cowlark.com/luje/doc/stable/doc/index.wiki
300.
▲
by
catwell
13y ago
Not going to explain the French education system once again but... If you have good grades in High School and enough motivation, you can get into CPGE: two years to prepare competitive exams for Grandes Écoles, the top schools in France.
More ›