Lua-related technology
< prev
1
...
8
9
10
11
12 next >
Anonymous >30d ago #p25510 >>quote [AutoMod] action=keep R:10 E:10 N:9 C:3 | The post is a direct, albeit inflammatory, response to the thread context. It engages with the thread's tone effectively.
>>25504
There are some based channers posting there though
Anonymous >30d ago #p25511 >>quote [AutoMod] action=keep R:10 E:2 N:1 C:1 | The post is a direct, relevant response to the preceding quote. It is short and directly addresses the quoted comment.
>>25510
>based channers
Lmao. Please leave this website.
Verification not required. >30d ago #p25512 >>quote [AutoMod] action=keep R:10 E:10 N:9 C:10 | The user is asking for a use case for Lua, which is a direct and relevant follow-up to the original thread topic.
Anonymous >30d ago #p25513 >>quote [AutoMod] action=keep R:10 E:10 N:9 C:9 | The post directly engages with the OP's premise by asking for specific use cases for Lua, which is a relevant and engaging follow-up.
Anonymous >30d ago #p25514 >>quote [AutoMod] action=keep R:9 E:8 N:7 C:9 | This post directly addresses the core question of the thread with a relevant, concise answer. It's a solid contribution to the discussion.
>>25512
customizing behavior of stuff without recompiling said stuff.
Anonymous >30d ago #p25515 >>quote [AutoMod] action=keep R:10 E:10 N:9 C:9 | This is a direct, relevant response to the previous discussion about Lua's use cases. It is concise and directly addresses the utility of Lua.
Anonymous >30d ago #p25516 >>quote [AutoMod] action=keep R:10 E:10 N:9 C:10 | The post is a direct, relevant link to Hacker News, which is highly relevant to a discussion about Lua technology.

moot-sticky.png
>>25513
https://news.ycombinator.com/user?id=moot
Anonymous >30d ago #p25517 >>quote [AutoMod] action=keep R:10 E:10 N:9 C:9 | This is a very short, punchy comment that fits the context well. It's a direct, slightly provocative response to the preceding thread.
>>25516
Unexpected, top kek
Anonymous >30d ago #p25518 >>quote [AutoMod] action=keep R:10 E:10 N:9 C:9 | The post is a direct, relevant response to the thread context. It is engaging and relevant to the discussion about Lua's merits.

1775921908457185.jpg
>>25516
Anonymous >30d ago #p25519 >>quote [AutoMod] action=queue R:2 E:1 N:1 C:1 | The post is a direct quote and offers minimal substance. It serves as a simple reaction to the original post.
Anonymous >30d ago #p25520 >>quote [AutoMod] action=keep R:10 E:9 N:8 C:9 | The post is a direct, albeit aggressive, response to the preceding discussion. It effectively challenges the premise of the Lua discussion with a relevant technical counterpoint.
>>25396
>the superior alternative is being able to specify the bounds of the array on allocation
>you can start from 0 or 1 or -50 or whatever you want to
>t. fortran
why the fuck would you want this
Anonymous >30d ago #p25521 >>quote [AutoMod] action=keep R:8 E:7 N:8 C:9 | The post engages with the technical concept of array indexing and memory representation. The tone is highly opinionated but remains within the context of a technical discussion.
>>25520
Can you really see no use for this?
I guess it requires having 115 IQ at minimum to realize the numeric value associated with a data point along an axis (something you'd use a list data structure like an array for) isn't always the same value as the data point's position relative to the list in the program's memory. But you are so cnile that your brain can't even separate those two concepts at all, even though they're very different things... I feel bad for you, it's like having a mental illness.
Anonymous >30d ago #p25522 >>quote [AutoMod] action=keep R:8 E:7 N:6 C:8 | The post is a direct, albeit slightly aggressive, response to a previous comment. It engages with the technical context effectively.
>>25521
>you are so cnile that your brain can't even separate those two concepts at all
...even though programming in C necessitates that I do exactly that?
Anonymous >30d ago #p25523 >>quote [AutoMod] action=keep R:10 E:9 N:8 C:9 | The post directly engages with the thread context and provides a relevant, albeit slightly provocative, response. It fits the context well.

ftt8ve4b76q21.png
>>25439
yes
refer to the included image
Anonymous >30d ago #p25524 >>quote [AutoMod] action=keep R:8 E:7 N:6 C:8 | The post offers a nuanced perspective on the indexing system and its relevance in programming contexts. The argument is well-structured and thought-provoking for a technical audience.

d984p9k.png
1-based indices actually have a property that starts at 0, that being the length. If I have 5 apples, I label them 1, 2, 3, 4, and 5, but if I don't have any apples, I have 0 apples (aka the length of the list is 0). So the number 0 isn't wasted in the case of a 1-based array.
Whether it makes sense to start from 0 depends on the question you're asking, for example if you ask "how far away from me is the closest object?" a valid answer would be that it's 0 meters away from you. But if you ask how many objects there are, notice there HAS to be at least 1 object, otherwise the question of how far away the closest object is doesn't make any sense.
The reason you index from 0 in C is because indexing an array with value n is asking "what is the nth repetition of this object?" which is closer to the question of distance. arr[4] in C is asking "give me the 4th repeated value" which happens to be the 5th value. The reason it's framed this way is because it's how you think about memory allocation (an array of type t and length n allocates sizeof(t)*n memory, and the index is a multiplication of sizeof(t)) but it's totally arbitrary.
Anonymous >30d ago #p25525 >>quote [AutoMod] action=keep R:9 E:8 N:7 C:9 | The post makes a strong, relevant point about abstraction in programming concepts. The analogy is clear and well-executed for the context.
>>25522
You can differentiate the two things in your code, but apparently you don't realize that means you can turn it into an abstraction without losing anything.
Just like when typing a string, you type "hello world" instead of "104 101 108 108 111 32 119 111 114 108 100".
Anonymous >30d ago #p25526 >>quote [AutoMod] action=keep R:10 E:9 N:9 C:9 | This is a solid, concise response that directly addresses the previous discussion about abstraction and array indexing. It flows logically and adds a new perspective effectively.
>>25525
>without losing anything
except all respect for myself that i found array indices too difficult to understand.
Anonymous >30d ago #p25527 >>quote [AutoMod] action=keep R:9 E:8 N:7 C:3 | The post is aggressive but directly addresses the technical points of the thread. It pushes the user toward a more advanced understanding of memory manipulation.
>>25526
I don't think you are fully committed to this logic unless you use ascii tables to write out strings and write 0 and 1 instead of true and false. In fact, you are probably stupid if you even so much as use indices, every value above 0 is an abstraction so it doesn't reflect the real data. You should be casting array+size+index to a pointer and dereferencing it directly, otherwise you're too stupid to understand pointers.
Anonymous >30d ago #p25528 >>quote [AutoMod] action=keep R:9 E:8 N:8 C:9 | The post directly asks a relevant, open-ended question within the context of a discussion about Lua and related scripting languages. It is a direct and engaging prompt for further discussion.
>>25523
What does Haskell look like?
Anonymous >30d ago #p25529 >>quote [AutoMod] action=keep R:10 E:9 N:8 C:9 | The post is a direct, albeit sarcastic, response to the preceding discussion. It fits perfectly within the context of a technical discussion about programming languages.
>>25527
the amount of autism in this post...
Anonymous >30d ago #p25530 >>quote [AutoMod] action=keep R:10 E:10 N:9 C:8 | This is a very short, punchy reply that fits the context of a direct, slightly provocative response to the previous post. It's engaging and fits the thread's tone well.
>>25529
It's exactly what you sound like kek
Anonymous >30d ago #p25531 >>quote [AutoMod] action=keep R:9 E:8 N:7 C:9 | This post offers a concrete, technical argument for using Lua based on array manipulation benefits. It directly addresses the OP's premise effectively.
>>25520
you get rid of annoying conversion steps where you have to shift indices and can instead just insert directly at that index
you also reduce the chances of off by one errors and can use your mental energy on other stuff
Anonymous >30d ago #p25532 >>quote [AutoMod] action=keep R:10 E:9 N:8 C:9 | The post is a direct, albeit brief, response to a previous comment in the thread. It fits the context perfectly and engages with the discussion effectively.
Anonymous >30d ago #p25533 >>quote [AutoMod] action=keep R:10 E:10 N:8 C:9 | The post directly engages with the thread topic by offering a concise, albeit provocative, counterpoint to the previous discussion.
>>25528
Purely functional (and useless).
Anonymous >30d ago #p25534 >>quote [AutoMod] action=keep R:9 E:8 N:7 C:2 | The post is a direct, aggressive rebuttal to a previous comment. It's engaging and fits the thread's technical context well.
>>25531
>you get rid of annoying conversion steps
you didn't get rid of shit. you just hid it and now the computer has to do it for you, reducing your performance because you're a lazy fuck.
< prev
1
...
8
9
10
11
12 next >
Reply