Better HN
topnewbestaskshowjobs
Log inSign up

lame-lexem

17 karma · joined Jul 15, 2024 (2y ago) · 6 submissions

Submissions

comment 1y ago · link · parent

could be a contraction of cheap at the price https://en.m.wiktionary.org/wiki/cheap_at_the_price

comment 1y ago · link · parent

tha page seems to have problems with layout overflow in equation blocks on mobile. It seems that because spans are inline elements they won't overflow. I think you can make them block elements and enable some form of overflow to solve it.

comment 1y ago · link · parent

astral team has live web demo they use internally of redknot on https://playknot.ruff.rs

comment 1y ago · link · parent

The famous it's ok if it's done with algorithm.

comment 2y ago · link · parent

Rust's `Vec` already allocate values on the heap, so there is no need for another inderection with `Box`.

this works:

  enum TreeNode<T> {
      Leaf(T),
      Branch(Vec<TreeNode<T>>),
  }
https://play.rust-lang.org/?version=stable&mode=debug&editio...

otherwise if it was just tuple of `TreeNode` there would be E0072 https://doc.rust-lang.org/stable/error_codes/E0072.html

comment 2y ago · link · parent

There is actually a pretty cool clone of Svoja igra (russian jeopardy clone <https://ru.wikipedia.org/wiki/Своя_игра>) sigame <https://vladimirkhil.com/si/game> which is popular with russian streamers and is open source. It is available as a web and native application, and has an extensive library of packs (sets of questions, tho many of them are in russian).