Menu

#Enum

5 posts

Feed·
4 of 5 posts
I accidentally logged hundreds of thousands of phone calls to military bases
🖼️
0Read More

I accidentally logged hundreds of thousands of phone calls to military bases

Hacker News·2 months ago
#B6ZEhS7o

How an expired nameserver let me take over e164.arpa zones for multiple territories, and why I probably should have checked my logs sooner.

15s
PHP Enum Methods to TypeScript: Why Discriminated Unions + namespace Beats class enums
🖼️
0Read More

PHP Enum Methods to TypeScript: Why Discriminated Unions + namespace Beats class enums

DEV Community·Gabriel Anhaia·6 months ago
#DhlWFxPT
#pattern#typescript#php#orderstatus#paid

PHP enum methods to TS: discriminated union plus a same-named namespace. Three patterns and why TS enum is the wrong reach in 2026.

15s
Enums for Perl: Adopting Devel::CallParser and Building Enum::Declare
🖼️
0Read More

Enums for Perl: Adopting Devel::CallParser and Building Enum::Declare

DEV Community·LNATION·6 months ago
#O7RXWOKK
#perl#xs#programming#comment#software

Adopting one from Zefram Back in 2011, Andrew Main, known to the Perl community as Zefram, released Devel::CallParser. It was a quiet piece of infrastructure: a C API that let XS modules attach custom argument parsers to Perl subroutines.…

15s