Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
muglug
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
721.
▲
by
muglug
6y ago
For context, the guy offering this deal (US Rep. Dana Rohrabacher) was the most Russia-friendly member of congress: https://www.nytimes.com/2017/11/21/us/politics/dana-rohrabac... It can be assumed
722.
▲
by
muglug
6y ago
Ditto. Those scammers really need to find a new target. Flash is so 2006.
723.
▲
by
muglug
6y ago
I think the use of an enum (in the Rust example) makes this a sum type situation: https://tonyarcieri.com/a-quick-tour-of-rusts-type-system-pa...
724.
▲
by
muglug
6y ago
Great article — I’ve never written a line of Julia or Rust, but could still understand it perfectly
725.
▲
by
muglug
6y ago
Slack is the only other company you might have heard of (but still, Slack).
726.
▲
by
muglug
6y ago
Ok, but looking at that same bug tracker there are only a handful of memory leaks in PHP core (i.e. not related to an extension), the most serious of which is being actively worked on: https://bugs.php.net/bug.php?id=76982
727.
▲
by
muglug
6y ago
I've used PHP in a realtime setting as part of Psalm's Language Server, but it's clearly not built for such workloads – the lack of native async support gets in the way. If most of the stuff you're doing requires an even
728.
▲
by
muglug
6y ago
> It's just that I wished that new releases could have more interesting things to say besides "it's not as crappy as it used to be". I don't think there are many people in PHP's orbit who want it to be a be
729.
▲
by
muglug
6y ago
> Is there anything that PHP is developing or adopting that can not be had at other established languages? No, not really, but it's still very good for casual web development, which makes up the lion's share of all backend code
730.
▲
by
muglug
6y ago
There's been one big change in the last 5 years – the adoption of type-inferring PHP static analysis tools in CI. As companies started adopting TypeScript/Flow into their Javascript pipeline, PHP developers realised the need for s
731.
▲
by
muglug
6y ago
It seems not to? I voted on something last night (selfishly, my own tool), but it's still not reflected.
732.
▲
by
muglug
6y ago
I'm not sure voting works?
733.
▲
Facebook’s Hate-Speech Rules Collide with Indian Politics
(wsj.com)
3 points
by
muglug
6y ago
|
1 comments
734.
▲
by
muglug
6y ago
WSJ, I believe
735.
▲
by
muglug
6y ago
Yes, I use it all the time, but most websites are really simple things – for every figma.com there are a thousand e-commerce sites that do very mundane things.
736.
▲
by
muglug
6y ago
> you can actually take advantage of its low-level nature in the browser for performance critical tasks within your app. Yeah, but the problem is that 99.9% of front-end work is only performance-critical for DOM rendering (the 0.1% is st
737.
▲
by
muglug
6y ago
Yeah, and one shouldn't ignore the economic and environmental drawbacks of milk – in the US, at least, the government subsidises milk production heavily so it's profitable for the farmers. And dairy milk is terrible for the envi
738.
▲
by
muglug
6y ago
If I wrote a long memo about how there are too many immigrants in America, and afterwards accepted an interview request from VDare, people would be right to wonder whether my private views were a little more racist than the memo let on.
739.
▲
by
muglug
6y ago
Not really. Right after the (somewhat-carefully-worded) memo was punished, the author showed his hand by appearing as a guest on the YouTube show of Stefan Molyneux who, even then, was well-known for his white nationalism and "men'
740.
▲
by
muglug
6y ago
From the HN guidelines > Off-Topic: Most stories about politics, or crime, or sports This seems very specific to a certain constituency of US voters, and not relevant to anyone else on here.
741.
▲
Academic achievement in UK high schools is correlated to gender roles
(link.springer.com)
2 points
by
muglug
6y ago
|
0 comments
742.
▲
by
muglug
6y ago
Adding type checking sort of clips the wings of a codebase, but makes it far less magic, and when you're a company the size of Square or Stripe you want as little magic as possible.
743.
▲
by
muglug
6y ago
Can someone explain why the types cannot live in Ruby code itself (after an appropriate version bump)? Python 3 incorporated types into the language itself, in a similar way (though non-reified) to PHP. This seems much easier to deal with t
744.
▲
by
muglug
6y ago
Psalm has levels – higher levels show fewer warnings (just like in PHPStan). Maybe the `@psalm-ignore-nullable-return` annotation is more appropriate for those methods? Do you use the Doctrine plugin?
745.
▲
by
muglug
6y ago
The “pap” in Pap smear is short for Papanikolaou
746.
▲
by
muglug
6y ago
I love how the author provides each optimising commit diff – that really helped me understand the improvements.
747.
▲
by
muglug
6y ago
It doesn't wrap PHPStan
748.
▲
by
muglug
6y ago
Hey, I created Psalm. Psalm and similar tools perform type-checking static analysis. This tool does not do type-checking. It does a few things: - Complexity analysis, with a few other top-level checks (analysis done here: https://
749.
▲
by
muglug
6y ago
Yes.
750.
▲
by
muglug
6y ago
> maybe I am wrong Yeah, uh, I have bad news for you...
More ›