Readit News logoReadit News
GeneralTspoon commented on Taking Risk   tomblomfield.com/post/750... · Posted by u/gatesn
rwmj · a year ago
The expected returns from "want[ing] to go and work at companies like McKinsey, Goldman Sachs or Google" are both greater and more certain, so perhaps the individual young people are acting quite rationally in the UK?

For context I spent years in my 20s doing start ups in London, and undoubtedly would have been better off financially now if I'd worked for some soul-sucking consultancy instead. I do agree with him that raising money in the UK is quite hard.

GeneralTspoon · a year ago
The expected return of working for Big 4 in your 20’s is a coke habit
GeneralTspoon commented on The WordPress 100 Year Plan   wordpress.com/100-year/... · Posted by u/keiferski
hahn-kev · 2 years ago
Tell that to FB
GeneralTspoon · 2 years ago
Except PHP isn’t dead - in fact it’s probably going through a renaissance.

The language and tooling have improved a lot over the last few years - to the point where starting a new CRUD web project using Laravel is a good default choice unless you have very special requirements.

GeneralTspoon commented on HMRC (UK Tax Authority) Persuing Uber for £386M (~$487M) Vat   twitter.com/DanNeidle/sta... · Posted by u/gchadwick
kypro · 2 years ago
Uber pays tax. HMRC are doing their thing and exploiting the complexity of the UK tax system to raise more government revenue.

This type of thing happens all the time. In the UK you can work as an independent contractor for years then one day HMRC will randomly decide to make a case that you're were actually an employee the whole time and should have been paying a significantly higher rate of tax.

The UK tax system is not explicit and open to interpretation so these disputes happen all the time if HMRC sees an opportunity. Given government spending is out of control and raising taxes doesn't win political points the complexity and interpretability of the UK tax system is now frequently being used as a weapon against UK citizens and businesses to increase government revenue.

Uber paid their taxes as they understood UK tax law. Not legally complying with their UK tax liabilities as you suggest would obviously be insane. The issue here is that the tax system is designed to be exploited. At least in my opinion. People disagree with me though and believe that the complexity and interpretability of the tax system is done in good faith.

It's a mistake to think this just impacts businesses: https://www.qdoscontractor.com/ir35/gary-lineker-wins-ir35-b...

GeneralTspoon · 2 years ago
> This type of thing happens all the time. In the UK you can work as an independent contractor for years then one day HMRC will randomly decide to make a case that you're were actually an employee the whole time and should have been paying a significantly higher rate of tax.

I assume you're referring to the IR35 laws - which were brought in specifically to combat a form of tax avoidance by highly paid contractors on long-term projects, who functioned exactly like employees (by being a contractor instead of an employee you could save a whole bunch of tax in the UK).

Yes, IR35 is a complicated pain - but everyone and their dog in the UK tech scene knows that contracting is/was the way to pay less tax. So it makes sense that HMRC is attempting to close the loophole.

> Uber paid their taxes as they understood UK tax law.

They were specifically attempting to use a loophole to avoid paying VAT the standard way (by claiming they're a "Tour Operator"). They've already lost multiple cases around the world for doing similar bad-faith interpretations of laws - so I think in this case it's Uber doing the exploiting.

GeneralTspoon commented on Illegal Life Pro Tip: Want to ruin your competitor's business?   oppositeinvictus.com/ille... · Posted by u/redbell
rcme · 2 years ago
I think you missed the “over the internet” part. When you do a CC transaction over the internet, you give the merchant your CC number and all the other information needed to make a transaction happen. A legitimate merchant may pass that information directly to a PSP, but you can’t deny you’ve given the merchant the information. Surely you’ve filled out a CC form in a website before?
GeneralTspoon · 2 years ago
You don't send anything to the merchant. The information goes directly to the PSP and the PSP sends a token to the merchant.

This usually works by the PSP embedding iframes for the CC fields on the merchants site (so you're inputting directly to e.g. stripe.com)

GeneralTspoon commented on Password protect a static HTML page   github.com/robinmoisson/s... · Posted by u/mooreds
meghan_rain · 3 years ago
Lol no. If you HTML is generated, it's by definition not static anymore.

Otherwise, all of the React server side rendering is static HTML.

GeneralTspoon · 3 years ago
No, because React is dynamically generating the HTML on the fly.

If you pre-compile the HTML using something like Jekyll, so that the webserver is just serving HTML files without any dynamic/on-the-fly processing at request time, then it's considered static.

GeneralTspoon commented on PHP in 2023   stitcher.io/blog/php-in-2... · Posted by u/langitbiru
zeptonix · 3 years ago
Everyone's at a different step in their journey. But I do agree if you're building stuff then exactly, who cares? End of the day it's definitely about what's built, not how.
GeneralTspoon · 3 years ago
> Everyone's at a different step in their journey.

Text book example of being condescending.

GeneralTspoon commented on PHP in 2023   stitcher.io/blog/php-in-2... · Posted by u/langitbiru
zeptonix · 3 years ago
I used to work way back in the day on PHP too, but even though I'm sure this will be downvoted, it's really sad people still take it seriously as a language in 2023. There's nothing remotely elegant about it. It's not expressive or programmatically succinct in the way Ruby is. It's not beautifully well thought-out the way Python is. It's not fast and modern in the way Rust is. It's not elegant or composable or client-side renderable in the way React.*script is. It just brings nothing to the table. It's an ugly hodgepodge borne out of an over-engineered homepage from 28 years ago. Various business interests have kept it afloat, and people who don't know any better keep championing it. I think people do eventually catch up with what's going on though as soon as they personally experience writing anything remotely serious (5-10,000+ LOC) that isn't a simplistic web-app.
GeneralTspoon · 3 years ago
> I used to work way back in the day on PHP too,

This is your issue - PHP < 5.3 is very different to PHP 7+. Not just at the language level - but the community, frameworks and best practices too. No more random scattering of SQL statements in HTML files!

Modern PHP (with a framework like Laravel or Symfony) is probably one of the most productive ways to build web applications.

> It's not beautifully well thought-out the way Python is.

This is definitely an interesting take... Python hasn't even solved package management yet. And the 2.7 => 3 migration is probably the most famous example of making a mess of an ecosystem with backwards incompatible changes. In contrast PHP has Composer and 5.3 code is pretty much compatible with 8.0 (although ideally all code from the 5.3 era should be burned at the stake).

> and people who don't know any better keep championing it. I think people do eventually catch up with what's going on though as soon as they personally experience writing anything remotely serious (5-10,000+ LOC) that isn't a simplistic web-app.

You've basically just said that PHP devs are too inexperienced to be able to scale a codebase past 10k LOC? Pretty much every serious web dev using Symfony/Laravel would disagree with you.

GeneralTspoon commented on Stripe’s real pricing: a primer   github.com/getlago/lago/w... · Posted by u/AnhTho_FR
dkyc · 3 years ago
You are right, and I see how that would push up the bill as % of revenue.

That being said, this has nothing to do with stripe's software platform which this article focuses on, and all to do with credit card payment fees. Braintree charges "2.59% + $.49 per transaction". PayPal charges "3.49% + $.49 per transaction". Square payments charges "2.9% + $.30 per transaction".

GeneralTspoon · 3 years ago
PayPal offers a micropayments option (5% + $0.05) - which reduces overall cost for businesses where the fixed fee eats a major part of their revenue.
GeneralTspoon commented on Germany Ends Ban on Abortion Advertisement   nytimes.com/2022/06/24/wo... · Posted by u/5Qn8mNbc2FNCiVV
Hermel · 3 years ago
Still banned in Germany: ads for lawyers, ads for doctors, ads for cigarettes, ads for gambling, and ads for drugs that need a prescription.

When traveling to the US, it always strikes me how different public ads are. The US has more public ads and also much more aggressive ads. An ad for an injury lawyer would be unthinkable in Europa.

GeneralTspoon · 3 years ago
> ads for cigarettes

When did this happen? When I was in Munich a few years back there were poster ads for cigarettes everywhere. I remember them being not very subtle about their “smoking is cool” message.

GeneralTspoon commented on Whats New in PHP 8.2   stitcher.io/blog/new-in-p... · Posted by u/maydemir
Ciantic · 3 years ago
> Deprecate dynamic properties

That's pretty big one. Lot of JSON can be deserialized to basically bunch of objects with dynamic properties, since it's parameter in deserialization.

For example `json_decode("...", false)` where second parameter (false) explicitly says it should return object. After that it's typical to set values such as `$post->name = 'Name';`, which would now give warning and in PHP 9 an error.

Maybe we shouldn't characterize PHP as dynamic language after the change?

GeneralTspoon · 3 years ago
This won’t affect that case, as it uses stdClass (which is allowed to use dynamic properties).

This is only for cases where you have a specific class like User, and you don’t want people setting random dynamic properties on it.

If you do you can also mark the class with an annotation to allow dynamic properties.

u/GeneralTspoon

KarmaCake day510June 14, 2014View Original