News for hackers. Stuff that matters.

dwdz

Re:Python string literals are kinda funny on Saturday August 08, 2026 @03:37PM (#49225133)
I'm not a fan of f-strings.

I feel like 90% of new Python features in the last 10 years just increased language complexity without any benefit.

Re:My Thoughts on the Bun Rust Rewrite on Thursday July 09, 2026 @07:10AM (#48843995)
The sole reason for that rewrite was Zig creator announcing he won't be accepting AI contributions. It hurt Anthropic's feelings.
Re:Rewriting Bun in Rust on Thursday July 09, 2026 @07:00AM (#48843896)
"The blog post is expertly written. It's almost like the marketing department of a trillion dollar company has a lot of money riding on this article."

-- Andrew Kelley

https://andrewkelley.me/post/my-thoughts-bun-rust-rewrite.ht...

I don't think it was written by AI but rather edited with help of AI. There are just a few obvious AI lines in the text. Not great, not terrible but it immediately caught my eye.
Re:Coursera and Udemy are now one company on Tuesday May 12, 2026 @08:33AM (#48107334)
Competition is for losers.
Re:What Are Skiplists Good For? on Sunday April 19, 2026 @05:37AM (#47823024)
It seems like Qt went from red-black tree to skip list in Qt4 and back to red-black tree in Qt5.
Re:C Is Best on Wednesday January 07, 2026 @07:02AM (#46525418)
Should be:

    ul.threadlist li.origin a {
      display: block;
      background: rgb(205, 216, 216);
      font-weight: normal;
      padding: 1px 6px;
      margin: 1px -6px;
    }

    LANG=en_IE.UTF-8
    LANGUAGE=en_IE:en
    LC_CTYPE="en_IE.UTF-8"
    LC_NUMERIC="en_IE.UTF-8"
    LC_TIME="en_IE.UTF-8"
    LC_COLLATE="en_IE.UTF-8"
    LC_MONETARY="en_IE.UTF-8"
    LC_MESSAGES="en_IE.UTF-8"
    LC_PAPER="en_IE.UTF-8"
    LC_NAME="en_IE.UTF-8"
    LC_ADDRESS="en_IE.UTF-8"
    LC_TELEPHONE="en_IE.UTF-8"
    LC_MEASUREMENT="en_IE.UTF-8"
    LC_IDENTIFICATION="en_IE.UTF-8"
    LC_ALL=
The script works just fine on real Linux, it creates 2048 files and ls command lists them all with different names.

    ls -l win32/
    total 0
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\277\237''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\267\213''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\240\220''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\274\273''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\251\205''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\255\223''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\272\257''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\264\207''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\261\246''.exe'
    -rw-r--r-- 1 dawid dawid 0 Feb 26 12:13 ''$'\355\254\266''.exe'
    ...
Re:The Ribbon Microphone on Wednesday January 22, 2025 @07:03AM (#42791847)
All lowercase text is so hard to read.
50-60 years old, according to Rick Beato

https://www.youtube.com/watch?v=3rx08qWtFak

Re:Benchmarking Malloc with Doom 3 on Tuesday June 07, 2022 @10:14AM (#31654620)
Please don't use Jet color scheme. Matplotlib uses excellent viridis by default. There's no reason not to use it. [0][1]

[0] https://stats.stackexchange.com/questions/223315/why-use-col...

[1] https://www.youtube.com/watch?v=xAoljeRJ3lU

Re:Samsung Galaxy S22 Ultra on Thursday February 10, 2022 @03:55AM (#30283832)
Are we still getting excited about new smartphones? What year is it? 2012?
Re:Typing, RSI, and what I do differently on Friday February 12, 2021 @03:43PM (#26118331)
I'm using this[1] and I love it. Adding 1 column of spacing between two hands is real game changer. I've tried Colemak and Workman before but I found qwerty-wide to be more comfortable than both of them. It's also much easier to learn, especially if you're Vim user.

[1] https://www.keyboard-design.com/letterlayout.html?layout=qwe...

Re:Asdf – An Extendable Version Manager on Thursday February 04, 2021 @05:08AM (#26024169)
The webpage doesn't load with JS disabled, and when you enable it, it just displays a bunch of text and some hyperlinks. This is beyond ridiculous.
Re:OCaml for the Skeptical: OCaml in a Nutshell (2006) on Sunday August 02, 2020 @02:00PM (#24030234)
1. No borrow checker

2. Compilation times

Re:Test Anything Protocol on Wednesday June 10, 2020 @03:51AM (#23474912)
Push to Kindle [1]. There are extensions for both Chrome and Firefox.

I wrote myself a simple python script so I can send articles from terminal [2].

[1] https://www.fivefilters.org/push-to-kindle/

[2] https://pypi.org/project/url2kindle/

Re:ColorBox by Lyft Design on Friday September 20, 2019 @04:24PM (#21030874)
Re:ColorBox by Lyft Design on Friday September 20, 2019 @04:18PM (#21030813)
and of course tested it only on Chrome...
Re:Turn off DoH, Firefox on Wednesday September 11, 2019 @08:33AM (#20939341)
I tried NextDns but it's extremely slow for me. (I live in central Europe.)
Re:Easy Python CLI with Click on Sunday August 18, 2019 @03:44PM (#20732360)
I wish python had something similar to OCaml's Cmdliner[0]

[0] https://erratique.ch/software/cmdliner/doc/Cmdliner

Re:Why Google+ Failed on Thursday June 20, 2019 @04:16AM (#20230910)
Because of this my Firefox crashed and I lost all my open tabs. Just fking great...
Re:Apple Violated Qualcomm Patent, U.S. Trade Judge Rules on Tuesday March 26, 2019 @03:44PM (#19495352)
Browser extensions like "Read FT and WSJ" do not work either.
Re:RHEL is deprecating KDE on Friday November 02, 2018 @06:04PM (#18367124)
Exactly my experience.
Re:Show HN: Select Star SQL, an interactive SQL book on Tuesday September 04, 2018 @07:46AM (#17908312)
Me too! Thanks Alisdair!

Older »