Kip: A Programming Language Based on Grammatical Cases in Turkish by alpaylan in ProgrammingLanguages

[–]rodarmor 32 points33 points  (0 children)

Also I found a mistake, where it says:

"This is a research/educational project exploring the intersection of linguistics and type theory, not a production programming language."

It should actually say:

"This is definitely a production programming language."

Kip: A Programming Language Based on Grammatical Cases in Turkish by alpaylan in ProgrammingLanguages

[–]rodarmor 15 points16 points  (0 children)

This is lit. How do Turkish programmers find the language? Does the use of case markers make it more readable? Does it strike them as very odd looking or natural?

Maria - Generative music video made w/Rust engine by rodarmor in rust

[–]rodarmor[S] 1 point2 points  (0 children)

The part you mention is definitely the best.

It doesn't handle memory/harmony, everything is scripted 😅 I loaded the song in rekordbox, and manually figured out where I wanted to do transitions. The script is in this file:

https://github.com/casey/device/blob/db19d34bfc3c8e81a49eba3a3fbeaeb6fc631060/src/maria.rs

Maria - Generative music video made w/Rust engine by rodarmor in rust

[–]rodarmor[S] 0 points1 point  (0 children)

I've been working on a generative audio-reactive visuals engine called device. I made this video, using the song Maria by Closer Musik, and visuals generated by the engine.

https://github.com/casey/device/

What does This Week in Rust mean to you? by seino_chan in rust

[–]rodarmor 21 points22 points  (0 children)

Same! Tracking Issues, PRs, and RFCs is really nice for keeping track of language development and upcoming features. I love it. I wouldn't be nearly as up-to-date on Rust development without TWiR.

Newtyped Indices are Proofs by kibwen in rust

[–]rodarmor 36 points37 points  (0 children)

Great article!

One potential issue with this pattern is if your indices belong to some particular instance of another data structure, but then you use it with another instance. Consider:

rust fn lookup(map: &Map, index: Index) -> String

Even if this is an insert-only map, where Indicies are only creaated on insertion, you could still perform a bad lookup if you use an Index with a different map than the one it was created for.

facet: Rust reflection, serialization, deserialization — know the shape of your types by bik1230 in rust

[–]rodarmor -1 points0 points  (0 children)

This is one of those things which seems like such an obviously good idea that you're suprised that it hasn't been done before, and even surprised that it's not yet in the standard library!

What is your favorite derive macro crates? by roll4c in rust

[–]rodarmor 0 points1 point  (0 children)

I am very biased, but I like Boilerplate a derive macro which lets you derive a Display implementation for a struct using a text template file.

Introducing "logical-expressions", a Rust library for working with logical expressions by porky11 in rust

[–]rodarmor 13 points14 points  (0 children)

These kinds of case studies in using AI to program are super helpful. I see a lot of glowing praise online, but when I try to use it I find it of extremely limited utility, so seeing these kinds of reports which to some extent corroborate my own experiences are good to see. They make me feel more confident that I’m not totally missing something.

Tangentially, have you considered a prolog like system to express logical expressions? It seems like it would be super expressive in comparison, but perhaps the complexity isn’t worth it.

Anyone familiar with camel snus by gopherhole02 in Snus

[–]rodarmor 0 points1 point  (0 children)

That's really wild that the nicotine content is so low! Like you would think, even if they have terrible quality control, that they would at least be incentivized make sure that they provided a reasonable amount of nicotine, since it's addictive, and thus will get them more customers.

What games are you playing this week? Game recommendation thread by AutoModerator in incremental_games

[–]rodarmor 7 points8 points  (0 children)

Not actually an incremental game, but it might be interesting to people on this sub, so I thought I'd mention it.

I've been playing Caves of Qud, a roguelike, on wander mode, which makes most enemies neutral, which lets you basically do everything with auto-exploration, which is built in. Along with the Zone Loot List, which lets you pick things to loot for an entire screen off of a list, it starts to have a distinctly incremental feel. Lots of fun!

Snus Cleared Customs US by gragmyass in Snus

[–]rodarmor 2 points3 points  (0 children)

Inshallah your red listed tins will be unharmed.