HNHacker News
TopNewBestAskShowJobs

jspaetzel

466 karma · joined September 25, 2012

submissionscomments
jspaetzel··on Modern PHP Cheat Sheet
The language type system doesn't quite support that yet in all scenarios. As of php 7/8 it's getting there but for what you are describing you'd need to use a static analysis tool still unfortunately.

Here's two of the most common ones. These are very mature and are very broadly used. Most editors also come with some support for these annotations so you often get help in the editor when something is wrong.

https://psalm.dev/docs/annotating_code/supported_annotations...

https://phpstan.org/writing-php-code/phpdoc-types

jspaetzel··on Modern PHP Cheat Sheet
I agree, it'd be nice if the built in was more standardized and had more features.

However you do have options to choose from with php these days. Really well maintained libraries exist for basically everything you could want, often they are fast, well tested and modular. And it's nice because you can even choose the style you prefer with this.

Grab the symphony string lib for instance: https://symfony.com/doc/current/components/string.html

jspaetzel··on Low interest rates in advanced countries have pushed money into real estate
The ability to transfer property quickly thanks to investors does provide some value. However, sitting on property and collecting rent is essentially theft. To fix this we need more incentives that reward the use of property more then the ownership of it.
jspaetzel··on Why Zulip will not get on the blockchain bandwagon
This isn't click bait, it's what happens when a maintainer gets the same question 100 times and feels the need to publish something publicly so they don't have to keep repeating themselves.
jspaetzel··on Why Zulip will not get on the blockchain bandwagon
Heh. Tulip, what a surprisingly relevant typo when talking about crypto.
jspaetzel··on Bitcoin is a Ponzi
You don't really need a room to do it...
jspaetzel··on Bitcoin is a Ponzi
Every Ponzi scheme seems like it's here to stay, right up until it's not.
jspaetzel··on Bitcoin is a Ponzi
Take away the Bitcoin miners and speculators and see how much a Bitcoin is worth.
jspaetzel··on Facebook employees badges aren't working, unable to enter buildings
What other social media platforms?
jspaetzel··on Reactive Clojure: A web language
Loving this for you...

)))))))))))

jspaetzel··on RIP Jekyll (The Genesis of the Jamstack)
Maybe this is just clickbait? Jekyll is in a fine state for an extremely mature project.

It would be extremely souring to me if Jekyll decided to add webpack and other javascript dependencies with a newer version. One of the things I like about Jekyll is that it's a STATIC site generator that doesn't try to do everything.

Some sites I want to be dead simple, and that's what you get with Jekyll. If I want more complexity I'd go with a more complex generator like Hugo or Gatsby.

jspaetzel··on Actual impostors don't get impostor syndrome
This is an obvious take. It's like consciousness, you have to be aware of consciousness in order to be conscious.

The only way to be an impostor is to be aware that you are one.

jspaetzel··on All public GitHub code was used in training Copilot
Memes are absolutely copyrightable, heard of Grumpy Cat?

New genetic sequences are patentable, not copyrightable, but that because of the process involved in creating new genetic sequences more then the genes themselves.

Sure naturally occurring genes aren't patentable, but it's not like we have code growing on trees. So that's a terrible comparison.

jspaetzel··on All public GitHub code was used in training Copilot
There's a really philosophical question here about whether Copilot is learning or imitating.

For instance, a parrot doesn't learn to speak, it learns to imitate speech.

jspaetzel··on All public GitHub code was used in training Copilot
Copy-left licenses are generally liked by developers, this flys very directly against that since it suggests circumvention of those type of licenses.
jspaetzel··on All public GitHub code was used in training Copilot
If Google makes an amazing model that no-one can beat it will only be dominate as long as others get access to it freely. But if there are restrictions on access or if it's too expensive, other options will appear and even if they're not as perfect, they'll still be very usable. Imagine a coalition of companies all feeding data, that could compete just as well.
jspaetzel··on Help All data in WD mybook live gone and owner password unknown
Imagine running `rm -rf` and not just wiping out your data, but all of your customer's on remote devices too.
jspaetzel··on Why Decentralised Applications Don’t Work
Tech decentralizing from San Francisco isn't proven yet, it's still novel and like other implementations of decentralized systems could fail. It'll take years to see how it plays out and by then it might just re-centralize.
jspaetzel··on Five Oregon counties vote to leave state, create 'Greater Idaho'
Tons of redundancy also creates tons of room for fresh ideas, this basically applies the ideas of capitalism to government.
jspaetzel··on Five Oregon counties vote to leave state, create 'Greater Idaho'
Welcome to the Libertarian party.
jspaetzel··on Project Starline: Feel like you're there, together
I'd pay something for this but I bet there's more of a business market.
jspaetzel··on I booked my cheapest one-month trip
Get a travel rewards credit card and read all of the benefits. The chase sapphire reserve is phenomenal to start with.

For the loyalty programs you don't see the value immediately, you need to travel a fair bit before those programs start having much/any return. Initially try to stick with the same couple of brands to maximize the loyalty programs. Try to apply a corporate rate code to any hotels and car rentals, makes a huge difference.

Figure out what airline local to you has the most/best routes that you want to take and stick with it. That may depend on where you want to fly too.. so spend some time figuring that out.

jspaetzel··on I booked my cheapest one-month trip
For me I was able to extract value with maybe... 5-6 trips a year minimum. More then that and it just gets easier. But I guess it partly depends on what you're valuing.

For instance... If you travel with no checked bags ever, and you fly on an airline that requires you to pay for checked bags. You won't see the value of having free checked bags when you achieve an airline status. There's lots of little things like this.

jspaetzel··on I booked my cheapest one-month trip
This type of thing stops being useful when you travel a lot, the loyalty programs wind up making a lot of things much cheaper then they would be to new customers and easier to find and book.

And regarding flights this didn't try to take advantage of some of the common flight booking tricks which can reduce fares much deeper like stopovers, +/- days, and airline switching which are harder to search.

jspaetzel··on PHP in 2021
They're not lagging behind. Based on my experience, companies in the bay area using PHP often pay just as competitively as others. There are likely a large number of "PHP" jobs available overall though which could bring average pay down, the low-end is low because there's such a low barrier to entry for something like WordPress development.
jspaetzel··on Coinbase from YC to DPO
It's incredible they were allowed to go public with risk being at such an all time high. Kudos to the company though, it's really ideal for the investors so c'est la vie.
jspaetzel··on Bastion – A Highly-Available Distributed Fault-Tolerant Runtime for Rust
This sounds cool. I don't understand why it's named Bastion though, that name already has pretty specific technical meaning to me which seems unrelated.
jspaetzel··on Letters from House members to cable providers [pdf]
This type of messaging only exacerbates any misinformation being spread. The only impact this could have is that right wing groups will have another real world example for fresh conspiracy theories. This pushes the divide wider.
jspaetzel··on Ask HN: What is your advice to someone who is starting out in software industry?
Work on a programming side project related to some hobby you already enjoy and know. Being familiar with a topic makes programming easier since you can focus on learning software development instead of the domain.

When you get a job this behavior will be inverted. You'll know how to write software but you'll have to spend more time learning the domain.

jspaetzel··on TurboTax Tricked You into Paying to File Your Taxes (2019)
It is possible to ignore a lobbyist, it's still up to political representatives to do right by their constituents.
← PreviousPage 4 of 6Next →