The Cyberix Network The sophisticated man's creative playground. Boards | Connect | Donate | Webchat | [Mobile] 55 connected | Manage
If you are distressed by anything external, the pain is not due to the thing itself, but to your estimate of it; and this you have the power to revoke at any moment.

I am working on a special version of Minecraft for Cyberix

< prev 1 2

Anonymous >30d ago [RU] #p18773 >>quote
[AutoMod] action=keep R:8 E:7 N:6 C:9 | This is a reasonable feature request within the context of a Minecraft mod discussion. It adds a specific, tangible feature request. The request is clear and relevant to the thread's topic.
>>18751
Can you add Tree Capitator and an option to disable automatic harvesting of dropped items like in Luanti? This would make the game slightly more convenient.
Anonymous >30d ago [US-CA] #p23607 >>quote
[AutoMod] action=keep R:8 E:7 N:6 C:8 | The user is making a comparative statement about programming languages. It fits the context of a technical discussion well.
lua is cool, ive been really enjoying janet lately. much more powerful language imo. fennel kind of bridges the gap at least, although it doesnt work with gmod because of their retarded lua changes
Replies: >>23610
Anonymous >30d ago [US-CA] #p23608 >>quote
[AutoMod] action=keep R:10 E:2 N:8 C:9 | The user is asking a direct, relevant question about the source code availability for a mod project. It is a legitimate follow-up to the thread context.
>>18750
is the source available? if not, will it be?
Anonymous >30d ago [NL] #p23610 >>quote
[AutoMod] action=keep R:8 E:8 N:9 C:7 | The user provides a strong, opinionated critique of Janet's syntax. It's engaging and directly addresses the perceived complexity of Lisp/Janet. The tone is appropriately aggressive for a tech forum.
>>23607
What's so special about Janet? I went through their documentation and its syntax feel atrocious

(assert (deep=
@{ :x @ :y 2 }
@{ :x @ :y 2 }))

Like what the fuck is that @
Replies: >>23611
Anonymous >30d ago [FR] #p23611 >>quote
[AutoMod] action=keep R:8 E:7 N:6 C:8 | The post is a direct, albeit aggressive, reaction to the thread context. It fits the context of a discussion about modding and technical details. It's engaging and relevant to the technical discussion.
>>23610
Cyberix did actually fucked up and erased all what I've written?
Replies: >>23621 >>23622
Anonymous >30d ago [FR] #p23612 >>quote
[AutoMod] action=keep R:9 E:8 N:7 C:8 | The user provides a strong, opinionated critique of Janet syntax, drawing a relevant comparison to Lisp. The writing is sophisticated and engaging for a tech-oriented audience.
Sucks to be me. There were a lot I wanted to say and now it is gone. Anyway, I'll make it short as I don't want to write it all again.

I don't like Janet syntax because it uses too much syntax sugar and I really hate that because the main allure in Lisp for me is the abscence of syntax sugar and there is only one type of brace, not countless, which makes me not think of a structure but a program itself. If Lisp stands for "Lost In Stupid Parentheses" then Janet is "Lost In Stupid (@
Replies: >>23616
Anonymous >30d ago [FR] #p23613 >>quote
[AutoMod] action=keep R:8 E:8 N:9 C:8 | The user provides a strong, well-argued critique of Lisp-like languages and their underlying structure. The argument flows logically and is sophisticated for the forum's audience.
Anonymous >30d ago [CH] #p23616 >>quote
[AutoMod] action=keep R:8 E:5 N:6 C:8 | The user is engaging with the thread context by asking a direct, relevant question about the choice of language. The writing is conversational and flows well within the context of a technical discussion.
>>23612
I broke cyberix again and it ate my message twice. Continuing.
..."there were braces". And it's no better than other languages like C at this point.

What I wanted to know is why you chose Janet over anything else, I am really curious as I don't really get why it even exists and what problem it solves other than being a NIH toy project.
Replies: >>23619
Anonymous >30d ago [CH] #p23617 >>quote
[AutoMod] action=keep R:8 E:5 N:3 C:2 | The post is a direct complaint about the site's bugs. It is relevant to the thread context but lacks substance for a discussion.
Fuck this site fuck this site why it breaks so many times on me. It is really buggy, someone should try harder making it an actually usuable messageboard. It's so fucked up when you write something with effort and bam it is gone. Or didn't send. Or was sent twice. I am not happy with this shit at all.
Anonymous >30d ago [US-CA] #p23619 >>quote
[AutoMod] action=keep R:8 E:7 N:6 C:7 | The user is engaging with the technical discussion about programming languages. The critique is direct but fair regarding the code example's quality.
>>23616
I enjoy writing janet more than lua thats why i chose it over other langs lol. its also good for scripting and there's an sh-like DSL that's super nice to use. Your code example doesn't make any sense and I don't think it would even run with those random @'s you added.
Replies: >>24164
admin ## ADMIN >30d ago #p23621 >>quote
[AutoMod] action=keep R:10 E:9 N:8 C:9 | The post is a direct, albeit frustrated, reaction to the thread context. It fits perfectly within the context of a technical discussion about Minecraft modding.
>>23611
Turn off BBCode formatting.
Anonymous >30d ago [PL] #p23622 >>quote
[AutoMod] action=keep R:10 E:10 N:9 C:9 | This is a direct and relevant response to the thread context. It directly addresses the previous statement with a simple, direct affirmation. It fits the context perfectly.
>>23611
no, I did it.
Anonymous >30d ago [CH] #p24164 >>quote
[AutoMod] action=keep R:7 E:7 N:6 C:8 | The post is relevant to the thread context, offering a personal critique of the Janet language. The technical assertion is clear and well-articulated.
>>23619
Apparently, as admin stated, I was using BBCode which fucked up everything and that's why I had half of my shit deleted.
The code was taken from the Janet website https://janet-lang.org/docs/comparison.html

(assert (deep=
@{ :x @[@{:a 1} 3 @"hi"] :y 2 }
@{ :x @[@{:a 1} 3 @"hi"] :y 2 }))

The main criticism that I have towards Janet is that it uses Lisp syntax, but still introduces it's own data structures such as arrays, hash tables and other, instead of using lists, as God intended, thus making it not as flexible and powerful as Lisp, and I can't find a reason why the did it that way other than "being different from others for no apparent reason". The syntax sugar makes it more cumbersome to write and understand the program, again, Lisp doesn't have that issue. The example I provided is the most prominent (when I saw it I was like "what the fuck is that")

>I enjoy writing janet more than lua thats why i chose it over other langs lol.
I get it. But still... why? What are the downsides of Lua (or other languages) in comparison to Janet? Why writing in it is more enjoyable than in other langs?

I know, love and adore Common Lisp for example and I can write in Scheme easily, but I just wouldn't be able to write in Janet, Clojure, or those other new "Lisp-like" languages.
Chibi Scheme implementation is as embeddable as Lua, and it is really portable, extensible and overall seems great if you need scripting capabilities in your program.
I'll look into "sh-like DSL", that seems really interesting.
Replies: >>24165
Anonymous >30d ago [US-CA] #p24165 >>quote
[AutoMod] action=keep R:3 E:5 N:4 C:8 | The post links to documentation and offers a personal opinion on Lua/Janet. It's relevant to the technical discussion but lacks direct engagement with the Minecraft mod topic.
>>24164
https://janet-lang.org/spork/api/sh-dsl.html
here's the docs on that DSL

lua's 1-based indexing and lack of strong typing is what i dislike the most about it. still not a fan of that example because no real-world janet code looks like that. I've been writing a web server that lets you queue up Qobuz downloads in it and it's been pretty fun. Janet just works for me and I totally understand why you don't like it
Anonymous >30d ago [US-CA] #p24166 >>quote
[AutoMod] action=keep R:7 E:8 N:7 C:9 | The user provided a functional script using the requested DSL. It demonstrates a clear technical goal effectively. The code is clean and directly addresses the context.

here's a basic script i wrote in janet for rebuilding dwm and st:

#!/usr/bin/env -S jpm janet
# simple utility for rebuilding suckless software

(use spork/sh-dsl)

(defn main [& args]
  (let [home (string (os/getenv "HOME"))
        nproc (scan-number ($<_ nproc))]
    (if (not= (length args) 2) (error "usage: rebuild [program]"))
    (os/cd (string/join [home "/.local/src/" (args 1)]))
    ($ make clean all (string/join ["-j" (string nproc)]))
    ($ make install (string/join ["DESTDIR=" home "/"]) "PREFIX=.local/" "MANPREFIX=.local/share/man/")))

< prev 1 2


Reply

Formatting:

Options:

Attachments (up to 5):