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

Just to add a little bit of perspective here. When I was a manager, if a candidate reached an interview with me, they had already had an interview with the recrui-I mean, "talent acquisition expert", with whom the compensation had already been previously discussed. I often had no idea what was the salary offered and I could not negotiate on it.

That was the other guy's job, and it as a prerequisite - they would not reach me if the compensation was not to their satisfaction. My job was to determine whether the candidate could perform at the offered post. If I needed to discuss compensation then someone before me would have screwed up.


> surrounded by his loyal band of perfect lieutenants, who apparently have zero desire to advance, and have no flaws at al

Sir, I believe you have not watched it.


I've seen every episode of TOS, most multiple times.

Then you must have had such a good time that you forgot everyone’s flaws!

I meant flaws in terms of negative personality traits.

AI is definetly taking a big portion of the marketing budget as well.

Just today I was served a clearly AI-generated Halloween ad for Coca-Cola.


That is how it has always been (not that I agree with it).


That's more of a choice, than "how things are". That is, that's a matter of rules.

As in, a monopoly can exist if a society tolerates it.


Yeah well, we have to express through action that we do not tolerate it.


My bet is that it will work ok in some cases and be confidently wrong in others.


As an experienced hardware designer I am never... confidently wrong!


The private sector is more efficient, yes, but only at extracting value.


Oh no!

Anyway...


If you’re not charging anything for it it’s free press for the original content creators imho


That is absolutely not the case.

Numerical loops in Lua are inclusive:

    for i=1,#t do t[i]=0 end
On the example above the i starts at 1 and goes up to (and including) the length of t.

With 0-based indexes, and that numerical loop format, it would be minus-one everywhere:

    for i=1,#t-1 do ...


I don't see a contradiction? I specifically pointed out inclusive indexing as part of my complaint.

The funny thing is, you could say the end index is zero-indexed and exclusive and that would result in the same behavior as one-indexed and inclusive. It wouldn't make sense to make it zero-indexed and inclusive, because the inclusivity only exists in the first place to account for the one-indexing. That would be an incomplete and nonsensical conversion.


I had a similar impression. It feels "not idiomatic". I disagree on the diagostic though - I think parenthesis-free calls are not what define what idiomatic lua is.

To me it is more about expressiveness and usage of basic language features. For example here's how a text field is set up currently.

           ito.TextField(draft)
                :label("Name")
                :focused()
                :on_submit(function(value)
                    if value:match("%S") then
                        phase.value = "review"
                    end
                end)
                :on_cancel(function()
                    phase.value = "choose"
                end),

The field is created on the first line, and then altered further with subsequent method calls that alter it. This reads like someone very used to Rust (and its Builder pattern) and then translating it verbatim to Lua. A more native Lua interface for me would look like this:

           ito.TextField(draft, {
                label = "Name",
                focused = true,
                on_submit = function(value)
                    if value:match("%S") then
                        phase.value = "review"
                    end
                end,
                on_cancel = function()
                    phase.value = "choose"
                end),
           })
As in: just pass a table to the builder. And if they ned to modify it later, they can just do:

           some_textfield.on_cancel = <some other function>
No need to "guard" the internal table with those extra methods.


that’s fair; I was suggesting something even more drastic than this https://github.com/uji-labs/ito/issues/4

maybe it’s a bad idea :X


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

Search: