Hacker News new | past | comments | ask | show | jobs | submit | stefanfisk's comments login

What is the cause of this delay?

I don't know for sure, but based on my knowledge as a user, I'd guess it could be something like delivering usage logs from points of presence in the CDN. PoPs can go offline regularly, they're highly dependent on other people's networks, 2 days might be the arbitrary line that has been drawn that gets enough of them in most circumstances, while not being too annoying for customers.

I spend all of my working hours with modern PHP.

IMHO, although its improved A LOT it’s still a mess. But with the right tooling you can kinda-sorta make it behave like a sane language if you squint a bit.


Every single language is a mess. Just look at time and floating point numbers in Java (not having a go at Java).

Every single language has parts that are a mess, or at least not perfectly designed. But that doesn't mean that languages all have an equal amount of mess. Python clearly has less mess than Perl. Rust clearly has less mess than C++. Zig clearly has less mess than C.

There should be a name for the "nothing is perfect so everything is equally bad" fallacy. It's surprisingly common.


The fallacy of gray?

https://www.greaterwrong.com/posts/dLJv2CoRCgeC2mPgj/the-fal...

> The Sophisticate: “The world isn’t black and white. No one does pure good or pure bad. It’s all gray. Therefore, no one is better than anyone else.”

> The Zetet: “Knowing only gray, you conclude that all grays are the same shade. You mock the simplicity of the two-color view, yet you replace it with a one-color view . . .”

> —Marc Stiegler, David’s Sling


Ah nice, thanks!

> There should be a name for the "nothing is perfect so everything is equally bad" fallacy. It's surprisingly common.

I think this falls under splitting (black-and-white thinking), a form of defense mechanism or (I suspect) mere rhetorical tool.

https://en.wikipedia.org/wiki/Black_and_white_thinking


No, black and white thinking is a different thing. It's "the fallacy of grey", linked in a sibling comment.

> There should be a name for the "nothing is perfect so everything is equally bad" fallacy. It's surprisingly common.

https://en.wikipedia.org/wiki/Perfect_is_the_enemy_of_good


That's a totally different thing.


Also not the same thing. That would be someone saying "we can't use any language because they all have flaws".

The one I'm talking about is the fallacy of grey, linked from a sibling comment.


In Python, default arguments are mutable. That's the ultimate WTF and footgun.

That's somewhat of misnomer. The root cause is that default arguments are evaluated during function creation rather than when the function called. And... this is invaluable for forcing immediate evaluation of otherwise late-binding closures.

What can be confusing is mixed lifetimes of nested generators using `yield from`. If any outer generator has a shorter lifetime, when it is garbage collected `yield from` will forward `close()` to the inner generator. Attempting to re-use the inner generator will result in a premature `StopIteration`. Iterators do not have `close()` and so are unaffected. This affects only `yield from` and not `for i in gen: yield i`.


Yeah that is definitely a footguns but I think calling it the ultimate footgun is overselling it. Perl implicitly casts between strings and integers. That's a waaaay bigger footgun.

> Just look at time and floating point numbers in Java

What do you mean? The time & date API in Java is excellent, and the float and double types follow the IEEE standard.


It took nearly 20 years to sort it out. Before Java 8, January was 0 and getYear() for today would return 125.

January as 0 seems like a very definsible choice. Presumably they did it to match C. If anything the WTF there is that the day of the month doesn't start from 0.

Dunno what's up with getYear() though!


getYear() must have been written in the 1990s during the early years of Java:

   95 = 1995
   96 = 1996
   97 = 1997
   98 = 1998
   99 = 1999
  100 = 2000 !?

Wasn’t Java 8 released 11 years ago? If PHP had been in its current state back then it would have been a masterpiece.

There are lasting languages and good languages, but there are no lasting good languages.

“There are only two kinds of languages: the ones people complain about and the ones nobody uses.”. Bjarne Stroustrup

Although I don't disagree with that statement it is not exactly what I was implying. I was implying that good languages eventually grow into bad languages.

Usually happens through tacking on new features and standard API functions without removing old ones. I wish modern languages would allow different modules within the same project to use different versions of the language and be more aggressive about deprecating/removing old features.

So like if you open a module and see "version 3.0" in the manifest you know for sure that this module is not using stupid feature X from version 1.0. While still being able to use "crucial library not updated since 2003" without much fuss.

Most languages these days don't dare to change core syntax behaviour in order to not break backwards compatibility.


Nonsense. There are plenty of good languages that have lasted a while, unless your standard for "good" is unreasonably high.

Java is probably the longest lasting language that I would consider good. Are there things that I hate about it? Of course. But it got a lot of things right - even things that more modern languages have done much worse at, like IDE support.


Taking two of the worst languages as an example of "every single language" doesn't really work.

>I spend all of my working hours with modern PHP.

I'd love to see a PHP without the warts. Something that is trivial to embed in a web page just the way PHP is but without the foot guns.


Since they started their crazy Gutenberg project things have certainly not been slow moving and stable…


It really messed a lot of things up, editing my blog used to be seamless and after it took multiple seconds to even load the editor.


I love the screensaver idea!


That survey also shows iOS being the primary OS for 7.3% of professional use, which to me sound absolutely absurd.


And it's practically illegal to grow your forest any other way even as a private land owner


Could you link to an explanation?


I spend way too much time in the insanity that is Gutenberg and I absolutely hate it.

They are basically build a weird word processor where everything is constantly broken and in flux.

If you want to do something as basic as update the DOM structure of a block you have to manually update every page that uses it since they serialize it rendered. It’s technically possible to render your blocks in PHP but then you still have to implement it in React as well for it to work fully in the editor.


Can you still write/use old style themes? It's been more than a decade for me, and although there where some WP-isms you had to know about ('the loop'), it was otherwise pretty straightforward using php as the templating language and (obviously) rendering html and styling through css. Standard stuff, that would let you dive in quickly. I'm sad to see that has changed.


Yes you can. I've been working with WP inhouse for a long time and I had no idea it had gotten as bad as in the OP article. I stay away from the gutenberg stuff and continue on with the "oldschool" stuff.


Checkout https://textpattern.com/ - its development started around the same time as WordPress, and still continues. Even though it didn't reach Wordpress' success, I've always felt that TextPattern is better coded than WordPress.


Throwing my recommendation for ProcessWire CMS. I switched to it 10 years ago and made a YouTube series around that time that compares it to WordPress. https://www.youtube.com/playlist?list=PLOrdUWNK38ibz8U_5Vq4z...


Thanks for the reminder! I loved Textpattern. Should check it out again.


I don’t know what you’re referring with regards to Sweden. While we have rent control there’s plenty of private landlords. Each city will usually have an official queue for rentals. But private landlords are not obligated to use it. Larger private landlords often hade their own queue. Smaller ones do whatever they feel like.


plenty of private landlords

Not compared to countries with an actual free rental market.

Having lived in both Norway and Sweden, the difference is stark. Moving to Oslo it took me a couple of phone calls and less than 10 days before I literally had the keys to a rental apartment in the part of Oslo I wanted to live in. Moving to Sweden it took months and I ended up with an 'illegal' second hand contract in a shitty part of Stockholm.


He is not totally wrong, it's just private landlords are usually companies, not individuals.

If individuals are renting an apartment, it's almost always limited to two 2 years and needs paperwork with the housing association including a reason for renting instead of selling

Banks also don't give loans to buy property if the stated reason is to rent


Which kind of jobs would that be?


that's not what he said.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: