HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dsissitka

no profile record

comments

dsissitka
·21 ngày trước·discuss
It's a strange world.

Rust rewrite: 6 days.[0]

Blog post: 37 days and counting.

[0] https://xcancel.com/jarredsumner/status/2060050578026189172
dsissitka
·tháng trước·discuss
It's worth mentioning you're paying a $45 Adafruit tax here. Adafruit charges more for Pis.
dsissitka
·tháng trước·discuss
Proton apps are very janky in comparison. For example:

  You open Proton Mail.

  You'd like to read the second email in your inbox so you hit J a couple times.

  Nothing happens.

  J/K don't work unless an email is already selected so you use your mouse instead.

  You hit T to move the email to the trash.

  You'd like to read the next email so you hit J.

  Nothing happens.

  Hitting T didn't leave you with a selected email so J/K don't work.
There are a lot of issues like this.
dsissitka
·2 tháng trước·discuss
I was curious how much work this would be. Here are the top five from cloc:

    -------------------------------------------------
    Language      files    blank    comment      code
    -------------------------------------------------
    Zig            1298    79693      60320    571814
    TypeScript     2600    67434     115281    471122
    JavaScript     4344    36947      37653    290873
    C++             583    27129      19117    215531
    C               111    21577      83914    199576
dsissitka
·3 tháng trước·discuss
D'oh, it wasn't the doc site. I was lazy:

  $ bun build --help | grep Implies
      --compile                             Generate a standalone Bun executable containing your bundled code. Implies --production
  $
I actually did double check it though because it used to be wrong. For good measure:

  $ grep bun build
  bun build --bytecode --compile --outfile bun-darwin-arm64         --production --target bun-darwin-arm64         app.ts
  bun build --bytecode --compile --outfile bun-darwin-x64           --production --target bun-darwin-x64           app.ts
  bun build --bytecode --compile --outfile bun-darwin-x64-baseline  --production --target bun-darwin-x64-baseline  app.ts
  bun build --bytecode --compile --outfile bun-linux-arm64          --production --target bun-linux-arm64          app.ts
  bun build --bytecode --compile --outfile bun-linux-arm64-musl     --production --target bun-linux-arm64-musl     app.ts
  bun build --bytecode --compile --outfile bun-linux-x64            --production --target bun-linux-x64            app.ts
  bun build --bytecode --compile --outfile bun-linux-x64-baseline   --production --target bun-linux-x64-baseline   app.ts
  bun build --bytecode --compile --outfile bun-linux-x64-modern     --production --target bun-linux-x64-modern     app.ts
  bun build --bytecode --compile --outfile bun-linux-x64-musl       --production --target bun-linux-x64-musl       app.ts
  bun build --bytecode --compile --outfile bun-windows-arm64        --production --target bun-windows-arm64        app.ts
  bun build --bytecode --compile --outfile bun-windows-x64          --production --target bun-windows-x64          app.ts
  bun build --bytecode --compile --outfile bun-windows-x64-baseline --production --target bun-windows-x64-baseline app.ts
  bun build --bytecode --compile --outfile bun-windows-x64-modern   --production --target bun-windows-x64-modern   app.ts
  $ ls -1hs bun*
   59M bun-darwin-arm64
   64M bun-darwin-x64
   64M bun-darwin-x64-baseline
   95M bun-linux-arm64
   89M bun-linux-arm64-musl
   95M bun-linux-x64
   94M bun-linux-x64-baseline
   95M bun-linux-x64-modern
   90M bun-linux-x64-musl
  107M bun-windows-arm64.exe
  110M bun-windows-x64-baseline.exe
  111M bun-windows-x64.exe
  111M bun-windows-x64-modern.exe
  $
dsissitka
·3 tháng trước·discuss
I was curious:

  $ cat app.ts
  console.log("Hello, world!");
  $ cat build
  #!/usr/bin/env bash
  
  bun build --compile --outfile bun-darwin-arm64         --target bun-darwin-arm64         app.ts
  bun build --compile --outfile bun-darwin-x64           --target bun-darwin-x64           app.ts
  bun build --compile --outfile bun-darwin-x64-baseline  --target bun-darwin-x64-baseline  app.ts
  bun build --compile --outfile bun-linux-arm64          --target bun-linux-arm64          app.ts
  bun build --compile --outfile bun-linux-arm64-musl     --target bun-linux-arm64-musl     app.ts
  bun build --compile --outfile bun-linux-x64            --target bun-linux-x64            app.ts
  bun build --compile --outfile bun-linux-x64-baseline   --target bun-linux-x64-baseline   app.ts
  bun build --compile --outfile bun-linux-x64-modern     --target bun-linux-x64-modern     app.ts
  bun build --compile --outfile bun-linux-x64-musl       --target bun-linux-x64-musl       app.ts
  bun build --compile --outfile bun-windows-arm64        --target bun-windows-arm64        app.ts
  bun build --compile --outfile bun-windows-x64          --target bun-windows-x64          app.ts
  bun build --compile --outfile bun-windows-x64-baseline --target bun-windows-x64-baseline app.ts
  bun build --compile --outfile bun-windows-x64-modern   --target bun-windows-x64-modern   app.ts
  
  deno compile --output deno-x86_64-pc-windows-msvc    --target x86_64-pc-windows-msvc    app.ts
  deno compile --output deno-x86_64-apple-darwin       --target x86_64-apple-darwin       app.ts
  deno compile --output deno-aarch64-apple-darwin      --target aarch64-apple-darwin      app.ts
  deno compile --output deno-x86_64-unknown-linux-gnu  --target x86_64-unknown-linux-gnu  app.ts
  deno compile --output deno-aarch64-unknown-linux-gnu --target aarch64-unknown-linux-gnu app.ts
  $ ls -1hs
  total 1.6G
  4.0K app.ts
  4.0K build
   59M bun-darwin-arm64
   64M bun-darwin-x64
   64M bun-darwin-x64-baseline
   95M bun-linux-arm64
   89M bun-linux-arm64-musl
   95M bun-linux-x64
   94M bun-linux-x64-baseline
   95M bun-linux-x64-modern
   90M bun-linux-x64-musl
  107M bun-windows-arm64.exe
  110M bun-windows-x64-baseline.exe
  111M bun-windows-x64.exe
  111M bun-windows-x64-modern.exe
   77M deno-aarch64-apple-darwin
   87M deno-aarch64-unknown-linux-gnu
   84M deno-x86_64-apple-darwin
   92M deno-x86_64-pc-windows-msvc.exe
   93M deno-x86_64-unknown-linux-gnu
  $
Maybe I'm missing some flags? Bun's docs say --compile implies --production. I don't see anything in Deno's docs.
dsissitka
·7 tháng trước·discuss
> Guess how many Blow has shipped? 0 so far, but it sounds close now.

One, but it was something like three years late:

https://store.steampowered.com/app/499180/Braid_Anniversary_...
dsissitka
·8 tháng trước·discuss
Maybe the incident:

https://news.ycombinator.com/item?id=41837782

https://dmpwn.info/
dsissitka
·9 tháng trước·discuss
I wonder if they're mobile. Here the URL is truncated and over on openssf.org/blog they don't show the date unless you switch over to desktop view.
dsissitka
·9 tháng trước·discuss
If you're a Linux user you might like Firejail for this.

  firejail --appimage --net=none --private=~/path/to/jail ~/path/to/Obsidian.AppImage
--private=~/path/to/jail limits access to your home directory to ~/path/to/jail and when you don't want Obsidian to have internet access you can take it away with --net=none.
dsissitka
·9 tháng trước·discuss
I ran it on VS Code and kitty recently:

https://news.ycombinator.com/item?id=45253927

https://news.ycombinator.com/item?id=45254054
dsissitka
·9 tháng trước·discuss
I was just hoping for this a couple hours ago. :)

Any idea how far out the Linux version is?
dsissitka
·10 tháng trước·discuss
Coincidentally I did that yesterday. Mermaid pulls in 137 dependencies. I love Obsidian and the Obsidian folks seem like good people but I did end up sandboxing it.
dsissitka
·10 tháng trước·discuss
Bonus VS Code:

  # Title      Min     Max     Avg     SD
  1 VS Code    10.8    19.7    13.0    1.2
dsissitka
·10 tháng trước·discuss
Some Typometer measurements on i3 here:

  # Title                   Min     Max     Avg     SD
  1 xterm 397               3.1     4.0     3.5     0.2
  2 Alacritty 0.15.1        3.6     4.8     4.2     0.2
  3 xfce4-terminal 1.1.4    2.9     6.8     4.4     0.3
  4 Ghostty 1.2.0           11.3    15.5    13.0    0.7
  5 kitty 0.42.2            11.7    21.3    15.8    3.3
https://imgur.com/a/RobYTWY
dsissitka
·10 tháng trước·discuss
I really want to like Bun and Deno. I've tried using both several times and so far I've never made it more than a few thousand lines of code before hitting a deal breaker.

Last big issue I had with Bun was streams closing early:

https://github.com/oven-sh/bun/issues/16037

Last big issue I had with Deno was a memory leak:

https://github.com/denoland/deno/issues/24674

At this point I feel like the Node ecosystem will probably adopt the good parts of Bun/Deno before Bun/Deno really take off.
dsissitka
·11 tháng trước·discuss
Something to be aware of if you're considering mailbox.org:

https://userforum-en.mailbox.org/topic/anti-spoofing-for-cus...
dsissitka
·2 năm trước·discuss
https://openwrt.org/docs/guide-user/services/dns/adguard-hom...
dsissitka
·3 năm trước·discuss
It's in current Fedora's:

  [david@pc ~]$ echo foo | parallel echo
  Academic tradition requires you to cite works you base your article on.
  If you use programs that use GNU Parallel to process data for an article in a
  scientific publication, please cite:
  
    Tange, O. (2023, July 22). GNU Parallel 20230722 ('Приго́жин').
    Zenodo. https://doi.org/10.5281/zenodo.8175685
  
  This helps funding further development; AND IT WON'T COST YOU A CENT.
  If you pay 10000 EUR you should feel free to use GNU Parallel without citing.
  
  More about funding GNU Parallel and the citation notice:
  https://www.gnu.org/software/parallel/parallel_design.html#citation-notice
  
  To silence this citation notice: run 'parallel --citation' once.
  
  foo
  [david@pc ~]$
dsissitka
·5 năm trước·discuss
Yeah, their original benchmarks were, uh...

> Benchmarks so far have just involved running find /usr on my Linux system with Alacritty, st, and urxvt, and on macOS against Terminal.app and iTerm2.

https://github.com/alacritty/alacritty/issues/289#issuecomme...

They decided to continue marketing it as the fastest terminal emulator anyway.

> > Correct accuracy of first sentence in README #798

> >

> > As documented in #289 it's not currently the fastest-- only a small number of terminals running a single task for initially benchmarked.

>

> nah

https://github.com/alacritty/alacritty/pull/798