Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
solraph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
151.
▲
by
solraph
6y ago
Analogies are by their nature imperfect. The analogy here is that <item> is being criticised in ways that are no longer true, where <item> in the case of PHP is specfically "insecure by default", regardless of it'
152.
▲
by
solraph
6y ago
Principally, the Register Globals change that turned every POST & GET entry into a variable was removed entirely in PHP 5.4 (1st of March, 2012), and the was old Mysql API was removed in PHP 7.0 (3rd of December, 2015).
153.
▲
by
solraph
6y ago
It's insecure by default, in the same way that Windows is a 32 bit shell over a 16 bit DOS core, and doesn't have real memory protection. It used to be true, and was a valid criticism. It hasn't been true in so long, that cla
154.
▲
by
solraph
6y ago
In the last few years, I've sat on both sides of the interview table several times. Recruitment in software engineering is a disaster from start to finish for all involved. As salaries have risen, it's only gotten worse. On one si
155.
▲
by
solraph
6y ago
It's 5.8% of GDP, 20.4% of exports. [0] That's a large figure, but it's not as if New Zealand lacks any kind of other industry. There's a massive primary industries (dairy, meat, logging, wine, plus others) where the cou
156.
▲
by
solraph
6y ago
I do. However, the process would have stuck around until it finished. It wouldn't have changed our overall RPS at all. Arguably the same problem would exist in other languages, but at least there we would have had the option of using t
157.
▲
by
solraph
6y ago
Ironically, the root cause that made me think of that example was AWS. The example was where each SQS call (there could be as many as five) was taking between 50ms-200ms, and logging took another 75ms. The rest of the request processing tim
158.
▲
by
solraph
6y ago
No garbage collection, doesn't compile to Javascript[0] and everything on Android is moving to Kotlin anyway. Just to be clear, my reasons stated above is why I'm moving to Kotlin. I make no claim that other people should or would
159.
▲
by
solraph
6y ago
It does, and using PHP in strict mode, in combination with tools like phpstan is what led me to looking for a language that is even better in that regard. If PHP hadn't made advances in it's type system with the 7.x series, I prob
160.
▲
by
solraph
6y ago
Compile to Javascript, and compile to native binaries supported by the core language team.
161.
▲
by
solraph
6y ago
Not the parent, but it would be nice to have separate thread for things like logging and firing events into a queue.
162.
▲
by
solraph
6y ago
Alas, I feel the same way. After much thought this weekend, I concluded that it was time to move on from PHP. I decided against the any other scripted language (Ruby, Python), as it felt like more of the same. Requirements were strict typin