Better HN
topnewbestaskshowjobs
Log inSign up

dwdz

192 karma · joined Sep 15, 2015 (11y ago) · 39 submissions

Submissions

comment 3mo ago · link · parent

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.

comment 4mo ago · link · parent

The sole reason for that rewrite was Zig creator announcing he won't be accepting AI contributions. It hurt Anthropic's feelings.

comment 4mo ago · link · parent

"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...

comment 5mo ago · link · parent

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.

comment 6mo ago · link · parent

Competition is for losers.

comment 7mo ago · link · parent

It seems like Qt went from red-black tree to skip list in Qt4 and back to red-black tree in Qt5.

7.

I hate: Programming Wayland applications(p4m.dev ↗)

175 points · by dwdz · 8mo ago · 180 comments

comment 10mo ago · link · parent

Should be:

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

comment 1y ago · link · parent

    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=

comment 1y ago · link · parent

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'
    ...

comment 1y ago · link · parent

All lowercase text is so hard to read.

comment 3y ago · link · parent

50-60 years old, according to Rick Beato

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Are we still getting excited about new smartphones? What year is it? 2012?

comment 5y ago · link · parent

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...

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

1. No borrow checker

2. Compilation times

comment 6y ago · link · parent

I prefer Cram [1] or mdx[2]

[1] https://pypi.org/project/cram/

[2] https://github.com/realworldocaml/mdx

comment 6y ago · link · parent

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/

comment 7y ago · link · parent

I like http://color.support/coloratlas.html

comment 7y ago · link · parent

and of course tested it only on Chrome...

comment 7y ago · link · parent

I tried NextDns but it's extremely slow for me. (I live in central Europe.)

comment 7y ago · link · parent

Official announcement:

https://typelevel.org/blog/2019/09/05/jdg.html

comment 7y ago · link · parent

I wish python had something similar to OCaml's Cmdliner[0]

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

comment 7y ago · link · parent

https://makemediumreadable.com/

comment 7y ago · link · parent

Another link: https://share.qz.com/news/2420179/body/

comment 7y ago · link · parent

Because of this my Firefox crashed and I lost all my open tabs. Just fking great...

comment 7y ago · link · parent

Browser extensions like "Read FT and WSJ" do not work either.

comment 8y ago · link · parent

Exactly my experience.

comment 8y ago · link · parent

Me too! Thanks Alisdair!
12