←back to thread

302 points amazonhut | 1 comments | | HN request time: 0.208s | source
Show context
ramon156 ◴[] No.45248373[source]
Cool stuff! I can see some GPT comments that can be removed

// Increased for better learning

this doesn't tell me anything

// Use the constants from lib.rs

const MAX_SEQ_LEN: usize = 80;

const EMBEDDING_DIM: usize = 128;

const HIDDEN_DIM: usize = 256;

these are already defined in lib.rs, why not use them (as the comment suggests)

replies(5): >>45248872 #>>45249589 #>>45249956 #>>45250796 #>>45251881 #
ericdotlee ◴[] No.45249956[source]
Do you think vibe coded rust will rot the quality of language code generally?
replies(2): >>45250350 #>>45251392 #
adastra22 ◴[] No.45250350[source]
These things will be corrected over time.
replies(1): >>45250603 #
1. yahoozoo ◴[] No.45250603[source]
How do you mean?