HNHacker News
TopNewBestAskShowJobs

philihp

202 karma · joined July 16, 2014

[ my public key: https://keybase.io/philihp; my proof: https://keybase.io/philihp/sigs/q5NZV9hK8O5-UuSLkgVNbaNb_1GKI0-YrwJZnMaIuaE ] vjija3diliz32cm4ef4a0zjn
submissionscomments
philihp··on Free Ross Ulbricht
Regardless of if it is or is not excessive, I think it is fascinating that the things a man did entirely online while he assumed he was anonymous are enough that society deems two life sentences in prison. He did that much damage to society with a keyboard and mouse.
philihp··on What’s so great about functional programming anyway?
I've found this too. Once I got comfortable with map/reduce/filter in JS, the thought of using an imperative while or for loop feels as backwards as writing a goto/label.
philihp··on Circadian lighting with Home Assistant: Like f.lux, but for your house
This should have always been a feature of the Hue bulbs. Might have been able to justify the cost, but now they're just 4x the cost of competitors that don't need a hub.
philihp··on Asdf – language tool version manager
I've found a lot of docker wins come from installing modules which have native bindings. I still hate running my dev server in docker, though.
philihp··on What “diversity and inclusion” means at Microsoft
That's not a new trend. It's a pretty common path to do a couple of years in big tech, and then use that credential as part of your pitch. "Ex-Google Engineer leaves to Airbnb for Cats"
philihp··on EU Passes Law to Switch iPhone to USB-C by End of 2024
> who with a current phone uses a cable to charge any more?

I think you may be living in a bubble.

philihp··on Gmail sends IRS and FBI emails to spam
-----BEGIN PGP SIGNED MESSAGE-----

Hash: SHA512

Yeah!

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE1cv7ESh+CzooffWR/YGUxUpj29UFAmM107cACgkQ/YGUxUpj

29Walw//fdfXCWWkD7P3fOraYrZw2zKDwJqFtvn4jznGga8MSGzllPfZiWSZtBnI

wAPGLwMwrpzV5wJyP+JUB4/vwZ7Eh7mzDUZuuxvLalVEwkqkTwqM+rhp44YeXVL6

HJnN52pknmuko7R0tHjKOVYz66VAyWaVJLIbLUqP3UWo4O35nttYlUxTBky8fIHs

z3p7ZMDf44AymOozBmRdeG++1VgXS2CQGemZqbSSqgqTa6RFJYAzaz7sBYd14ZgG

pwoPEe/JV7QfxdRwotQgFdyhbwDY7J7dvn/p6pj0eU3HiuHHi4TDMHA7xpuocrku

jWC4CuQ6fVrnsBtSJuZ2H/SvwDCY2cV1FPwO6blzSJ7t+JymCpCj6uwmLnd4S/Pr

twMisrEP6x9V992D8Q9gfMymilNW9wlTdyWVTpzMxjj/tGdYsSqXTJrXnTPqdlnD

jdq3g3YlC8fZQeatdhy2aofbnUr8esvnlu/JwD5dby9tDKBQwGoAenupl+ZY6uEb

2/93tDHsJTmXfhbJ8ndfPNMWL0zEtULpokgM9EUXPgJxM5QcnTf+GtlW6GH/uZlq

Z00GdKW9tF6MC0SKoqW1IQJcq/MQAcDaTr4hwHAVnonXjzTTBpq1r6zSSP4AgqMg

TZ58dM9HPpSWEv7RM3Bp93UPp1M+z761BC0WWkG2PenJu/vw3Fc=

=9+Ii

-----END PGP SIGNATURE-----

philihp··on California jobs required to post pay range starting 2023
Good
philihp··on DevOps: An idea so good, no one admits they don’t do it
Feature/UX changes should be behind feature flags, and launched independently of a release. Releasing often let's us identify and fix bugs quickly. I hear you that as users we appreciate more stable UI, but to get to an intuitive UI, you have to experiment and iterate.

While there is value in discrete and planned releases, we value responding to change more.

philihp··on HBO Max pulls nearly 200 ‘Sesame Street’ episodes
I often see the intros of shows like Foundation and The Expanse and imagine all of the particles are there as a big F.U. to pirates trying to reencode their paid stream.
philihp··on AWS us-east-2 outage
My first instinct would be to guess that something like this happened because of some intentional and well-meaning effort to upgrade some critical part of their infrastructure. Just my hunch given that it happened during the middle of the week in the middle of the day, and came back relatively quickly. The quick but not instantaneous bounce back has the hallmark of someone following a carefully laid out worst case contingency plan. I look forward to the postmortem.
philihp··on Loot boxes in video games
Usually it can't do one thing at once.
philihp··on The problem with Bitcoin miners
That's an expensive premium. How much is a crisp benj worth compared to a gently used one, laced with trace amounts of cocaine?
philihp··on Ask HN: Is there hope for micropayments?
AWS
philihp··on Shaving is an example of how consumer products extract more money
If you use a double edged razor, it may be necessary to also have a disposable because airlines won't let you carry on the flat blades. They have their place.
philihp··on Most Salvadorans have already ditched their national Bitcoin wallets
Noncustodial bitcoin wallets are still wallets. The function of a wallet is to keep your money secure and facilitate sending it to others. Having a bank be a proxy to this is both absurd and normal.

Users should be aware and make a conscious decision about where their keys are kept, however this is usually something that doesn't matter until they either lose their phone or law enforcement freezes/seizes their money. It's pretty high up on Maslow's hierarchy of financial freedom.

philihp··on The Demise of the Mildly Dynamic Website
CSS frameworks are the worst. It's a lot of effort for a cookie-cutter look and feel, and I'd rather have something functional first.

It is a badge of pride to have blue underlined hyperlinks that turn purple if you've been to them before.

philihp··on The Demise of the Mildly Dynamic Website
A good framework hides all of this, and gradually reveals how it works to the user/coder.

I think Next.js does this very well, although I'll admit that their "getting started for total beginners" documentation spends way too much time explaining the magic. If I were to throw someone into the deep end to make their own mistakes, as I assume we all did with PHP, I would tell them to git clone https://github.com/vercel/next-learn/tree/master/basics/lear..., and then experiment with "pages/index.js".

Hot reloading that you get out-of-the-box with most JS frameworks is a massive improvement over static HTML, or PHP.

philihp··on The Demise of the Mildly Dynamic Website
I can empathize with your lament that it used to be easy to spin up a quick website. It sounds to me like your experience as a software developer blocks you from willfully making mistakes we've all learned the hard way.

SSI still works, and you can turn it on with Nginx. It's still quite limiting and fragile.

PHP still works, but as your project grows, unless you have equally experienced PHP developers, you'll see things get out of hand quickly with scope issues.

CGI will still work, but similar to PHP, it's a headache to setup the sandbox so a malicious or naive committer doesn't clobber the environment. At least PHP's defaults were pretty sane until someone does something cute and bypasses magic quotes and introduces some SQL injection.

Let's give AWS Lambda some credit though, it's virtualized and containerized CGI and can scale to handle loads that you'd think your backend was written in Elixir.

philihp··on Nukes, nubs and coners: The unique social hierarchy aboard a nuclear submarine
Haha, exactly! Ultimately harmless and it'll make for a good story that would one day be immortalized on HN. Good judgement call on their part!
philihp··on Elo scoring two years of Magic: The Gathering games
If you're open to trying it out, I wrote an open-license alternative to TrueSkill: https://github.com/philihp/openskill.js, which has been ported to half a dozen languages. I'd love your feedback on it.
philihp··on Singleton Is a Bad Idea
You fclose the handle when you're done, or you create some kind of synchronized semaphore, if you wanna be extra.

The issue is really around having multiple handles for writing (not just reading or appending), and the number of times you actually have this problem here is vanishingly rare.

philihp··on Unbundling Airbnb
One contributor to Airbnb's success was making things like this accessible to international travelers. It's that whole "live like a local" vibe.
philihp··on Eve Online: Exploring the Unknown
Sounds like a fun adventure. How did you get connected with your J-space group?
philihp··on Google Tag Manager, the new anti-adblock weapon (2020)
So something like https://yalls.org?
philihp··on Startup tooling: our product management, sales, and marketing stack
Our startup uses Linear and we would never even consider JIRA again. The UI is fully featured, fast and responsive, and it integrates effortlessly with Github.
philihp··on Got charged £15 “technology fee” by cab hailing app because it uses algorithms
(1) Was the charge for the ride apparent before hailing the not-technically-a-taxi?

(2) If not, what app was this?

philihp··on Apple AirTags Are Now Being Used to Steal Cars in Canada
Car mechanics have a backdoor around the security system of my car, and this is a problem. Rather than name drop Apple, perhaps we could dox the car manufacturers who have sold us superficial locks?
philihp··on Ask HN: Best way to host a website for 500 years?
I fully expect my blog on GitHub Pages to outlive me.

They're stored in the Arctic Code Vault, as well as more replicas than you can imagine, because git, so I could imagine there's very little risk of data corruption, and because of the amount of knowledge stored in this standard format of static HTML, there's strong incentive for people to preserve it and keep hosting it if Microsoft becomes evil again and decides its not profitable. Moreover, if you PGP-sign your git commits with a 4096-but RSA key, you can be fairly sure nobody will edit your commits (perhaps for at least for the first 200 years). I believe the key here is lumping your data in with other high-value data.

philihp··on MacBook Pro 14-inch and MacBook Pro 16-inch
USB-C are more like adapters that let you plug in anything that isn't USB-C. There still does not exist a device for under 100 USD that will let you plug in the MBP's USB-C power, a USB-C (over thunderbolt 3) monitor, and also a USB-C to Lightning cable. I hope you didn't have a wired keyboard, too.

There does exist a hub that has 2 USB-As and 2 USB-Cs for 50 USD, but it does not pass through video or power.

← PreviousPage 2 of 4Next →