HackerTrans
トップ新着トレンドコメント過去質問紹介求人

IdiotSavage

169 カルマ登録 2 か月前

投稿

Rust goal: cargo script (like uv does for Python)

rust-lang.github.io
1 ポイント·投稿者 IdiotSavage·先月·1 コメント

コメント

IdiotSavage
·9 日前·議論
> But a button that works like that in a GUI would feel wrong.

No, it doesn't. It feels way more responsive.

My pet peeve is "stopwatch apps" which trigger on release instead of on press. When timing something where fractions of a second matter, most people won't realize that it triggers on release and tap down when they want to start / stop, adding some arbitrary delay until they actually release the button.
IdiotSavage
·16 日前·議論
You're wrong.

"Users should vote and comment when they run across something they personally find interesting—not for promotion."

https://news.ycombinator.com/newsguidelines.html#:~:text=Use...
IdiotSavage
·19 日前·議論
If you want to see what a random distribution looks like:

  jot -r 100 0 1 | rs -t 10
I noticed my "fake randomness" is lacking long sequences of the same key. I feel like I'm "predictable" when I press the same key 5 times in a row, yet that happens a lot in a truly random distribution.
IdiotSavage
·22 日前·議論
Only in theory. A 3D printer doesn't need to sustain lateral forces - a router does. It might not be built for this.
IdiotSavage
·22 日前·議論
The docs say that's the default:

https://docs.deno.com/runtime/desktop/backends/#webview-(def...
IdiotSavage
·22 日前·議論
More fun facts:

Omitting those characters makes it good for generating passwords if they need to be typed in by hand.

Double-clicking a base58 string always selects the whole string and it doesn't wrap accidentally, thanks to missing / and +, so it's also convenient to copy and paste.
IdiotSavage
·27 日前·議論
Or the more recent memory of the F1 ad pushed via the wallet app.
IdiotSavage
·先月·議論
This is just a continuation of common StackOverflow advice to "make it work", which the LLMs use as "knowledge":

https://stackoverflow.com/a/28002687

https://stackoverflow.com/a/32282390

https://stackoverflow.com/a/18062293

Naive users used to copy paste those things from StackOverflow, now they can use line completion in their editor.
IdiotSavage
·先月·議論
Already works with nightly:

https://doc.rust-lang.org/nightly/cargo/reference/unstable.h...

  #!/usr/bin/env -S cargo +nightly -Zscript
  ---cargo
  [package]
  edition = "2024"

  [profile.dev]
  opt-level = 3
  ---

  fn main() {
      println!("Hey, man!");
  }
IdiotSavage
·先月·議論
I think you've misunderstood the analogy. Just ignore it, analogies mostly break down anyways.

> a model capable of completing the tasks assigned to it

The thing is, the "task assigned to it" is changing with improved capabilities. If everyone around you in 2036 is using general AI to do amazing stuff, you will probably have little interest in vibe coding slop like it's 2026.
IdiotSavage
·先月·議論
I find that hard to believe. The AI companies will want to control what's possible and find new things to do that "need" their services. Otherwise it would be like Intel and Microsoft had decided in the year 2000 that computers are "good enough" now and we would have explored what's possible with that hardware ever since.
IdiotSavage
·2 か月前·議論
Definitely.

  x-cache: Error from cloudfront
IdiotSavage
·2 か月前·議論
But can you show me a "top of the range" product? Not Ikea's top range, but "high end" in the common sense.
IdiotSavage
·2 か月前·議論
The point was to show that machines can produce knifes with precision. The other commenter stated that "CNC can't do the tolerances needed behind the apex.", whatever that means exactly.
IdiotSavage
·2 か月前·議論
Are you talking about a chef's knife? If well done, I see no reason why it should be any worse than a high end knife made by a skilled human.

Have a look at this if you're interested:

https://www.youtube.com/watch?v=Q5lq2d-03T0
IdiotSavage
·2 か月前·議論
They have "bottom of the barrel" and slightly better quality products. But the better products are nowhere near the (top) end of the range.
IdiotSavage
·2 か月前·議論
> Goods are usually (although not always) inferior when made by a machine.

This is only true in the beginning, when machines are still primitive (e.g. first automatic looms). Nowadays machines mostly yield much better quality than any human can produce (e.g. automated welding, anything CNC controlled). Many things are only possible to build with machines (e.g. semiconductors).

> A hand-crafted solid wood table is still superior to something from Ikea.

This is by choice. Ikea chooses to produce the cheapest furniture possible, using cheap, crappy materials. Other manufacturers still produce high quality furniture, which is much more expensive.
IdiotSavage
·2 か月前·議論
They all seem to be single nozzle.
IdiotSavage
·2 か月前·議論
[dead]
IdiotSavage
·2 か月前·議論
The upcoming INDX looks promising. But I can't see how Prusa solves the "dust and moisture" problem. They don't have something like Bambu Lab's AMS, do they?

Same problem with the Snapmaker U1.

Edit: the Snapmaker U1 also seems to have an open top, which is problematic for ABS, I assume.