Hacker Newsnew | past | comments | ask | show | jobs | submit | dwdz's commentslogin

Should be:

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

Good point.

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


Oh, great. Can you also share the locale? I'll write another Postscriptum section then.


    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=


Not the OP, but have you tried LANG=C and getting rid of the rest?


All lowercase text is so hard to read.


i didn't find it hard to read, personally

perhaps the author is anti-capital-ist?

having an entire separate alphabet just to mark the start of sentences, and proper names, does seem extremely wasteful

on the microphone, it looks like quite a delicate process

i've modded some cheap aliexpress microphones (eg following https://audioimprov.com/AudioImprov/Mics/Entries/2015/12/20_...) but i'd want to see some measurements or reviews before embarking on something like this one


capitals could damage the ribbon


ifyouthinkthatsbadbearinmindthatbothcapitallettersinlowercasetextandspacesbetweenwordsarefairlyrecentinventions


And what about changing direction on each line ? https://en.wikipedia.org/wiki/Boustrophedon


nd y dnt rly nd bth vwls nd spcs s sm lngg grps ntlly drppd vwls whn thy gt spcs


𓁑 𓁒 𓁓 𓁔 𓁕 𓁖 𓁗

𓄒 𓄓 𓄔 𓄕 𓄖 𓄗 𓄘

𓀊 𓀋 𓀌 𓀍 𓀎 𓀏 𓀌

𓋥 𓋦 𓋧 𓋨 𓋩 𓋪 𓋫

𓉢 𓉣 𓉤 𓉥 𓉦 𓉧 𓉨


I also fell for the purple text that didn't turn out to be a link

This is quite the style


on my machine, the text is also gigantic, and some of it is outside the screen :')


50-60 years old, according to Rick Beato

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


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


It uses nipy_spectral.


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


I did catch myself stop watching YT series like "here's another bigger monitor" or whatever. Idk we all have our thing I guess. I was getting sucked into camera gear for a bit.


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


That’s an interesting solution! As someone who likes a wider keyboard stance this makes a lot of sense to me, and I think it’d work well with an ISO layout too.


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.


1. No borrow checker

2. Compilation times



I guess the projects you mentioned are complementary, in that TAP as I understood it merely specs the output stream/protocol that a test run is expected to produce and isn't limited to testing shell scripts, whereas cram/mdx appears more like a user acceptance test convention specifically for shell script code as component-under-test, much in the spirit of "behavioural" testing a la jBehave.


just want to clarify that the program-under-test in cram can be written in anything, as long as it's executable and produces some outputs (stdout, stderr (or any other file descriptor, really), files, exit code). right now i'm using cram to test a program written in F#.

it's true that cram shines in tests for programs written in sh/bash/zsh, where you can output the command lines your PUT consists of (while | instead of) running them and then have cram verify that your program composes expected commands.

git-pimp.zsh is an example of an early approach: it runs its commands through a helper which uses $GIT_PIMP_CHATTY and $GIT_PIMP_DRYRUN to optionally output the given command line and whether to actually perform it, respectively. the helper is a function called "o" ([o-impl]) which makes the code look a little like a bullet list ([o use]).

[0120-output.t] sets git-pimp to skip execution of `git mailz` and `review-files` invocations, and echo any `git format-patch`, `git mantle`, ... invocations (regardless of whether they're dryrun or actually executed).

[0120-output.t] https://github.com/roman-neuhauser/git-pimp/blob/master/t/01... [o-impl] https://github.com/roman-neuhauser/git-pimp/blob/master/s/gi... [o-use] https://github.com/roman-neuhauser/git-pimp/blob/master/s/gi...

`o` was a stepping stone and inspiration to [fake]. this is an external command (as opposed to a shell function), so it cannot stub out shell functions, but it provides greater control over the behavior of mocked command lines. eg. one can mock out `rm -rf --no-preserve-root /` but leave all other uses of `rm` to the actual command, define any combination of exit codes and outputs of particular invocations or prefixes, or provide custom implementations for same. if you ever scripted any destructive, hardware- or network-dependent code (ip(8), fdisk(8), ssh(1)), [fake] can help write sort-of unit tests that do not require expensive setup. as always, mocks and stubs are dangerous, and i'm not claiming this is bullet proof, but it's still very useful.

[fake] https://github.com/roman-neuhauser/fake


You didn't say anything about the output structure of these testing tools. That's the topic of this discussion, not the tools per se.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: