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

my inbox at fastmail is near empty from spam. the main spam i see in my inbox is forwarded from my gmail.


That probably says more about the email address that’s out there than anything else.


Fastmail has wildcard email support, so it’s pretty easy to have an email per purchase you make (for example). This makes it easy to see who leaked your email to spammers. Anyway, I have nowhere near the volume of spam with Fastmail that I had with Gmail.


My point was not about wildcard emails, which Gmail also offers. Rather, the amount of spam you get is typically based on how well known your email address is to spammers. If someone’s not getting much spam, it usually just means they haven’t used their email address in places where they would get it. This is regardless of whether it’s a wildcard email or not.


it works well, but some of the user experience is as bad as every streaming service for me.

i browse categories, have to click 'load more' a ton of times to see everything, and if i dare enter a category, and then go back to category list, all the times i clicked 'load more' is undone and i'm back to the initial view.

same if i search for a category, when i return from viewing a category, the search term i gave is gone.

i get that searching and favorites is the optimal way but sometimes you need to browse to know what to search for.

i also dislike having to hover over something to see the full title. having to hover over all the results instead of being able to see the full titles and at a glance find what i wanted to find ...

if i make the window bigger, it helps a bit but some longer titles are still cut off.

besides these gripes, i actually like it. search results are pretty much instantaneous and the whole app doesn't feel slow as some others i've tried in the past.

should i make a github issue for my issues or is that a waste of time?


> You could set her back 8 iOS versions and she probably wouldn't notice. Because she uses none of the hundreds of features released since. Not because she dislikes them, she doesn't know they even exist.

there's no manual to read. apple does not inform you in any way. finding out new features is by word of mouth.

so annoying.

i should not have to discover features on my very expensive phone by random chance via watching a tiktok video!


Indeed. A typical major iOS version has hundreds of new features.

New iOS features are typically announced at the WWDC event. Which is a developer event that surely no normie watches. But even if they did, it's still a summary featuring like 5% of new features.

Normies may not know or suddenly discover features introduced a decade ago.


Have you tried the Tips app?


The fact that a helpful comment had to inform me of this apps existence really says it all. Just ship the damn documentation on the device.


curious how that works out. you start dating, stop doing the hobby you're not really interested in, but she continues, and finds out you were only in it to find a date?


Super common. Seen this happen a lot with some hobbies that I've pursued. The men will show back up when/if said relationship dies (after all - it worked the first time). A lot of women do this too. They might've had a genuine interest but it wasn't sufficient to keep them going.

For some of the hobbies I have, you'll find that there's very few single women but a massive amount of single men.


i've filled up an zfs array to the point where i could not delete files.

the trick is to truncate a large enough files, or enough small files, to zero.

not sure if this is a universal shell trick, but worked on those i tried: "> filename"


For reasons I am completely unwilling to research, just doing `> filename` has not worked for me in a while.

Since then I memorized this: `cat /dev/null >! filename`, and it has worked on systems with zsh and bash.


That seems to be zsh-specific syntax that is like ">" except that overrides a CLOBBER setting[1].

However, it won't work in bash. It will create file named "!" with the same contents as "filename". It is equivalent to "cat /dev/null filename > !". (Bash lets you put the redirection almost anywhere, including between one argument and another.)

---

[1] See https://zsh.sourceforge.io/Doc/Release/Redirection.html


Yikes, then I have remembered wrong about bash, thank you.

In that case I'll just always use `truncate -s0` then. Safest option to remember without having to carry around context about which shell is running the script, it seems.


"truncate -s0 filename"

I believe "> filename" only works correctly if you're root (at least in my experience, if I remember correctly).

EDIT: To remove <> from filename placeholder which might be confusing, and to put commands in quotes.


Oh yes, that one also worked everywhere I tried, thanks for reminding me.


Pleasure.

It saved me just yesterday when I needed to truncate hundreds of gigabytes of Docker logs on a system that had been having some issues for a while but I didn't want to recreate containers.

"truncate -s 0 /var/lib/docker/containers/**/*-json.log"

Will truncate all of the json logs for all of the containers on the host to 0 bytes.

Of course the system should have had logging configured better (rotation, limits, remote log) in the first place, but it isn't my system.

EDIT: Missing double-star.*


Simple to verify with strace -f bash -c "> file":

    openat(AT_FDCWD, "file", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
man 2 openat:

    O_TRUNC
        If the file already exists and is a regular file and the
        access mode allows writing (i.e., is O_RDWR or O_WRONLY) it
        will be truncated to length 0.
        ...


Sure, but I just get an interactive prompt when I type `> file` and I honestly don't care to troubleshoot. ¯\_(ツ)_/¯


Probably you are using zsh and need:

    MULTIOS=1 > file
- zsh isn't POSIX compatible by default


I see. But in this case it's best to just memorize `truncate -s0` which is shell-neutral.


Ok, we'll leave that a mystery then!


Depending on the environment you can also use the truncate command. This will work if the file is open as well.

https://man7.org/linux/man-pages/man1/truncate.1.html


It'd be better to do ": >filename"

: is a shell built-in for most shells that does nothing.


i have close to 2000 tabs and have stellar performance and no crashes.

chrome on the other hand, tabs will randomly crash if left open for more than a day or two.


sometimes you just want to quickly look at ffprobe's natural output but the file have a lot of metadata or subtitles or whatever, and the stuff you want to look at is printed up on top, so the natural way is to pipe it to less or a file.

but no, you have to mess with stderr because the programs natural output without using the flags is an error apparently.


not available in EU.


but it did remind me that it was now available to download, because it wasn't when the previous article was posted.


threads is going to split communities if it takes off, given that EU is locked out of it.


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

Search: