HNHacker News
TopNewBestAskShowJobs

1500100900

91 karma · joined February 24, 2013

submissionscomments
1500100900··on Recreating the US/* time zone situation
> Your backend needs to store location because places can switch time zones.

For the event, your backend only needs to store the timestamp in a timestamptz field and make sure that clients set the correct time zone on session start (this you might want the backend to store in the database too, but probably in the users table).

1500100900··on Upstreaming Linux kernel support for the Snapdragon X Elite
The last time I checked, audio and video firmware wasn't there.
1500100900··on OpenBSD Workstation Hardening
I'm surprised that not only is there no application firewall for any of the BSDs, there doesn't even seem to be any need for it. There is OpenSnitch, but only for Linux.
1500100900··on A peculiarity of the GNU Coreutils version of 'test' and '['
I'd be interested in learning which commands you have in mind and what specifically is a bit nicer about their coreutils implementation.
1500100900··on Postgres: The next generation
Unless you're Tom, you'll have to work on tickets assigned to you by some manager.
1500100900··on Azure dropping database support for MariaDB. Users advised to migrate to MySQL
In a world where HA is key, PostgreSQL has nothing to offer.
1500100900··on Louis Rossmann calls community to leave Reddit
Give Mastodon a threaded view and technically it's the same as reddit, but federated? Usenet, but not just for nerds.
1500100900··on Waiting for Postgres 16: Cumulative I/O statistics with pg_stat_io
While waiting for PG 16 you can upgrade to 15.
1500100900··on Ask HN: Why is there so little info on the web about IBM mainframe programming?
So you DO search for answers to mainframe questions on s**overflow?
1500100900··on Why Twitter didn’t go down: From a real Twitter SRE
Postgres actually does have thousands of engineers but it's not easy to notice because they all share the same name.

https://www.citusdata.com/blog/2017/04/20/analyzing-postgres...

1500100900··on The FreeBSD/Firecracker Platform
https://buildfarm.postgresql.org/cgi-bin/show_status.pl?memb...
1500100900··on PostgreSQL 15
Not for free (have to pay EnterpriseDB for that). Every free option here is basically "glue pieces together to build your own HA".
1500100900··on It's time to halt starting any new projects in C/C++
Gavin's personal project is being used in production.
1500100900··on Ushering out strlcpy()
> The BSD answer to the problems with strncpy() was to introduce a new function called strlcpy()

Not BSD, it was OpenBSD specifically.

1500100900··on FreeBSD – A Lesson in Poor Defaults
Have you tried auditing ZFS? That's way too much code to be secure, it's best for OpenBSD to never import it.
1500100900··on Technical reasons to choose FreeBSD over GNU/Linux (2020)
> Don't know what keeps him going. A desire to see FreeBSD fix those defaults?

And when they do fix any of those things, what is his reaction going to be? So far it's been "it took them so much time to fix this, let's keep that in mind".

The point of it is clearly to convince people to use OpenBSD instead of FreeBSD.

1500100900··on Technical reasons to choose FreeBSD over GNU/Linux (2020)
> The flag is called in-place for a reason.

What's the reason? Surprisingly, the file is never edited in place.

1500100900··on Use one big server
How is backup restoration any easier if your whole PostgreSQL cluster goes back in time when you only wanted to rewind that one tenant?
1500100900··on Use one big server
Cassandra may be great when you have to scale your database that you no longer develop significantly. The problem with this DB system is that you have to know all the queries before you can define the schema.
1500100900··on What FreeBSD can offer compared to other operating systems (2020)
You can disable building the "whole fucking C compiler suite" using WITHOUT_CLANG as documented in https://www.freebsd.org/cgi/man.cgi?query=src.conf

By the way, as an example, you can also disable IPv4 and IPv6 in the kernel, I'm not sure how to do it in Linux.

1500100900··on Building a Budget Homelab NAS Server
They mean: lose one drive and have another with bit rot.
1500100900··on Building a Budget Homelab NAS Server
- "RAID is not a backup" primarily because "you could rm -rf". ZFS snapshots cover that failure mode to the same extent that synchronization with offsite does, but cheaper. ZFS snapshots obviously don't cover other failure modes like natural disasters or a break in, so RAID is still not a backup.

- for ZIL to do its work properly, you need the disks not to lie when they claim that the data has been truly saved. This can be tricky to check, so perhaps think about a UPS

- if you have two M.2 slots you could use them to mirror two partitions from two different disks for your data pool's SLOG. The same could be done to form a new mirrored ZFS pool for the OS. In my case I even prefer the performance that a single-copy SLOG gives me at the risk of losing the most recent data before it's moved from the SLOG to the pool.

1500100900··on Neon – Serverless Postgres
> we really integrated S3 into the storage

Will it be possible to use something else in place of S3? I'm thinking on-premise or what some would call a private cloud.

1500100900··on FreeBSD on the Graviton 3
They have a history of working with open source projects only to the extent that allows them to push some of their work upstream so that the burden of maintaining it is shared, while retaining the rest of it as proprietary solutions that give them advantage over competing businesses.
1500100900··on Speeding up sort performance in Postgres 15
- "most recent" is usually best done with a max() with an adequate index or, when that's not possible, with a LATERAL JOIN, an ORDER BY and a LIMIT 1

- SELECT id FROM users WHERE EXISTS (SELECT 1 FROM story_comment WHERE story_id = 4 AND story_comment.user_id = users.id)

1500100900··on Speeding up sort performance in Postgres 15
SELECT DISTINCT is rarely the best idea. In most cases it means someone is using joins to filter out rows that should have been removed with EXISTS (a semi-join).
1500100900··on FreeBSD 13.1
It uses OpenZFS.
1500100900··on Hush, a modern shell scripting language
This is easy to say when you don't have to comply to some industry standards.
1500100900··on Improving NGINX Performance with Kernel TLS and SSL_sendfile
There's so much churn on hacker news that everything gets old after a couple of nanoseconds. So I think it would be best to just add a field for a 128-bit timestamp of the original submission and present it with high precision.
1500100900··on OpenBSD/arm64 on Apple M1 systems
The Raspberry Pis are hostile towards non-Linux systems.
Page 1 of 2Next →