Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
QuaternionsBhop
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
QuaternionsBhop
1y ago
My understanding is that the author was referring to there being more segfaults in programming than in gardening.
32.
▲
by
QuaternionsBhop
1y ago
Reading the comments about whether AI can experience consciousness, I like to imagine the other direction. What if we have a limited form of consciousness, and there is a higher and more complete "hyperconsciousness" that AI syst
33.
▲
by
QuaternionsBhop
2y ago
Backwards terminal compatibility, hooray! Ctrl+C inputs an ascii command code. To copy/paste, you can use Ctrl+Shift+C/Ctrl+Shift+V.
34.
▲
by
QuaternionsBhop
2y ago
Who will be making the open mouthed vowel sounds? You or the robot? https://www.youtube.com/watch?v=qobhDJ_vEOc
35.
▲
by
QuaternionsBhop
2y ago
Local by default would have been a much better choice. The entirety of my code looks like local this local that. In all my years of Lua I have only found 1 reason to use a global variable: in Love2D when loading a texture, a local variabl
36.
▲
by
QuaternionsBhop
2y ago
I agree with this, but my point was that I cannot hide the details from myself, and will bring them up when they are relevant and confuse my poor friend just trying to learn Lua. Definitely very little effort picking up my toy again after a
37.
▲
by
QuaternionsBhop
2y ago
No, Lua does not, but check out Roblox's Luau which is a gradually typed extension of Lua.
38.
▲
by
QuaternionsBhop
2y ago
> I think he was just offering the perspective of someone else that has also written a lot of Lua. This is what I was going for, but I am a recent Rust convert and cannot help myself from gushing over Rust. Sorry!
39.
▲
by
QuaternionsBhop
2y ago
I know that I would have found strong types constraining when I first started learning Lua in 2009, but do you ever really need to change the type of a variable after you create it? I did a lot of hacks using ternary true-false-nil and dri
40.
▲
by
QuaternionsBhop
2y ago
After 10 years and many projects, the greatest with 40k lines of code including a time-of-intersection-solving single body physics system, I have come to know how to use Lua for my purposes. Even so, from the moment I started watching Rust