Hacker Newsnew | past | comments | ask | show | jobs | submit | gsck's commentslogin

Cannot wait for another version of Lua to sit unused basically everywhere.

Truly is a shame, everything seems to have settled on 5.1 for the most part without ever being updated, or any intention of it being updated. Some really nice features post 5.1

I understand each version of Lua introduces breaking changes in the language, which isn't great as the language becomes fragmented (Or not really, once again 5.1 is pretty ubiquitous)


The real reason everyone settled on Lua 5.1 is because that's the version LuaJIT is compatible with, and most people are unwilling to give up the performance gains.

And Luau.

5.1 (by way of LuaJIT) gets a lot of use, but to suggests no one uses the modern versions is just not true. Lua being an embedded language just takes the pressure away to upgrade. It's a feature, not a bug.

> everything seems to have settled on 5.1

Not exactly. LuaJIT has backported various hot features from 5.2 and 5.3 as long as they're unlikely to break 5.1 code.


True. But

1. The luajit documentation basically just had a list of features. AFAIK there isn't any documentation that combines the 5.1 reference with luajit extensions (including things that were backported)

2. In some cases, for example Neovim, luajit extensions aren't guaranteed to be available. It just says there will be a lua runtime compatible with 5.1. Which means a truly portable neovim plugin can't use those extensions

3. There are features from later lua versions I would like to have (in particular <const> and <close>) that will probably never get backported.

4. Some features require luajit to be built with special flags


I'm pretty sure that's only OpenResty's distribution of LuaJIT.

I think the real LuaJIT is strictly 5.1


Not true, see "Extensions from Lua 5.2" here: https://luajit.org/extensions.html

No, real LuaJIT has some features from 5.2 and 5.3

https://luajit.org/extensions.html


Ooh very nice. Going to keep an eye on this, because while qlabs is nice, it certainly is up there in price for some features I require. Just had to spend nearly 100$ on renting it for this week!

Any plans on supporting video playback and rudimentary keystoning? The audio features in qlabs are alright, the video is its killer feature that similar software often touted as alternatives lack.


I have recently taken a job with an American based company and will need to complete a few weeks training in Miami. Based on the information they have given me I need a B1 visa and maybe an ESTA since I'm in the UK, and a C-1/D for moving through the US.

However they keep flip flopping between me needing a B1 and me just using my ESTA for the training, and their communication hasn't been the most straight forward. Which visa do I need to get to enter the US for the training?


Whether you present a B-1 visa or ESTA for admission, you will be seeking admission as a business visitor. Under these circumstances, my advice is almost always not to risk a denial of a B-1 visa application (which happens all the time) and to travel on ESTA. The only relative downside is that ESTA limits admission to 90 days. But of course run this all by the company's immigration counsel.


Not a lawyer. The VWP (ESTA) for business specifically says:

> attend short-term training (you may not be paid by any source in the United States with the exception of expenses incidental to your stay)

"source in the US" might be problematic if you're paid by the US company directly and not a UK arm. You'd have to take those days as unpaid, except for a per diem? If you're paid in pounds by a UK source, ought to be fine.

I would confidently say you do not need a C visa. That's for immediate transit (like you have to change airports or something, and you would use an ESTA anyway). A D visa is for people like airline crew who have to stay and have to work whilst there (like getting an aircraft ready for international departure from a US airport). If you needed that, your company ought to know.


My understanding of the B-1 visa is all you really need is a letter of employment. Might get tricky with you providing the letter of employment to yourself however.


All these people talking about voluntarily giving their kid Linux.

When I was 12 or so my Dad installed Linux on my laptop as punishment because I kept installing viruses on Windows.

I suppose it definitely helped with my knowledge of Linux as I had to do a lot of tinkering to get anything I wanted to work, even then 90% of the games I wanted to play didn't work (Waaay before Proton was a thing, Wine alone wouldn't work for most games)

Also had the added benefit of me just generally not wanting to use the computer, Linux sucks for desktop use. Constant source of issues that I just dont care for, I use a computer to play games or do work - I don't care about the operating system side of stuff. You dont daily drive a project car.


"I'm sorry you feel that way" was literally the first thing I ever got taught when doing front of house/customer service training. Its definitely a super common phrase, at least in English speaking countries


Not sure if this is what you intended but you're just proving his point. Customer service is full of corporate-speak, scripted deflection, and hollow niceties. Of course the first thing you were taught was an empty apology.


You see this all the time with professional lighting fixtures as well!

For example, the ETC Source4 LED Lustr X8 has: Deep Red, Red, Amber, Lime, Green, Cyan, Blue, Indigo[0]

RGB LEDs are pretty crappy at rendering colours as they miss quite a lot of the colour spectrum, so the solution is just add more to fill in the gaps!

[0] https://www.etcconnect.com/WorkArea/DownloadAsset.aspx?id=10...


They are not required by law to show any banner. The banner is the website actively being belligerent.


It does and doesn't. You can have any arbitrary index, but that changes the table from being an array to being both an array and a dictionary, some real weird Frankenstein stuff


> but that changes the table from being an array to being both an array and a dictionary

You're confusing the definition of the language with the implementation. In implementation you're right, most runtimes will treat arrays starting at 1 as a special case and optimize that access. The language itself doesn't make that distinction though. Here an array is simply any table indexed by integers. The documentation states it's thusly:

    You can start an array at index 0, 1, or any other value


Best part about gov id, there is no link between accounts. I have my personal gov ID account, I have my director of a business gov ID account and I also have a gov ID account for the business.

Why are these all separate, why am I 2 people according to gov ID. Why can't I access my director of a business gov ID from my personal gov ID???

The kicker is these are all linked, it knows they all belong to the one person, but if you log into the wrong one it tells you to use the other one.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: