|
I assume you picked that one on purpose.
OOP support is not where Lua really shines, I know.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
No, I was just looking at some samples on the Lua site, and that was the third or fourth one that came up. I just found it confusing compared to all the other languages I have ever worked with. In 'normal' languages, the first end would be an else .
|
|
|
|
|
Quote: In 'normal' languages, the first end would be an else. In Lua it would be an else as well.
However, there is an error call that abruptly interrupts the instruction flow (it never returns, like the exit of the C programming language).
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
|
I have to admit that is a rather unfortunate example (at least in my opinion).
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
And I have to admit that I should do what I tell other people to do: first, study the language.
|
|
|
|
|
I tell my students to study your posts
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
|
I use LUA on the ESP platform along with NodeMCU.
The less you need, the more you have.
Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?
JaxCoder.com
|
|
|
|
|
I use it almost everywhere.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
I used to have lua on my windows machine but just looked and I no longer have it? Never used it much on the PC because it didn't seem that polished and as I remember no GUI.
The less you need, the more you have.
Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?
JaxCoder.com
|
|
|
|
|
Whenever I mess around with Lua, I use the Visual Studio Code Lua plug-in by sumneko. I have nothing bad to say about it. Works like a charm.
|
|
|
|
|
Thanks I'll check it out
The less you need, the more you have.
Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?
JaxCoder.com
|
|
|
|
|
Hi all, is is possible to search for posts on here containing specific text in the subject and posted between certain dates ? I'm keeping a log of CCC clues recording who set and solved them and would like a list of all clues posted this year without having to trawl through everything.
Pseudo code
Select * from ccc
where subject = 'CCC'
and posted_date between 01-01-2021 and 09-07-2021
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Go to Search[^] and hover the mouse over the search box. It should show the various options. I don't think it accepts dates in the way you want.
|
|
|
|
|
|
Thanks Mathew that will save me some time
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Porcupine Tree - Anesthetize[^]
So this week my friends and I shared some 00's metal classics.
We've had Opeth, Therion, Machine Head, Arcturus, Nightwish, Gojira, Tool, Porcupine Tree...
Porcupine Tree was on my list, mainly because I love this song so much.
It's been featured in the SOTW before and a few weeks ago we also had some Steven Wilson solo music.
Although his solo music has little to do with metal, and Porcupine Tree tends more towards rock and pop than metal too, Anesthetize is clearly rooted in metal.
It really doesn't matter what you call it, it's just a great track!
One downside to it, it's only 18 minutes long
Enjoy!
|
|
|
|
|
There is a point (7:48, for about 30 seconds) that reminds me very much of another song, but I cannot place the song. It actually repeats a few times.
It's possible I am just remember this song from before, but at 18 minutes it seems like something I wouldn't choose to listen to.
Do you know if they have a shorter version of this song? Or if perhaps that segment is a cover (or rip off) of another song? Or am I just talking nonsense (it's quite possible)?
The answer could very well just be that this is already the song I am thinking about. Perhaps it popped up on an Amazon station at some point.
|
|
|
|
|
musefan wrote: Do you know if they have a shorter version of this song? Not that I know of.
As far as I know it's not a cover and it doesn't use segments of other songs.
musefan wrote: Or am I just talking nonsense No doubt
|
|
|
|
|
|
Is it a coincidence that they're named after a Pantera song?
It's also just a regular English term, so it could be coincidence.
|
|
|
|
|
It seams that it is not a coincidence. Well spotted
|
|
|
|
|
|