Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
muglug
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
841.
▲
by
muglug
7y ago
> There are 95 million photos uploaded every day. I'd be surprised if the upload service was all Python. > would it worth migrating over several years? No. The cost of developers (and the potential risk of adding bugs) means it w
842.
▲
by
muglug
7y ago
Migrating millions of lines of python to go would be deeply stupid. A few extra servers are worth it.
843.
▲
by
muglug
7y ago
By providing PHP-backwards compatibility HHVM, Facebook provided an off-ramp for themselves and other existing PHP users at a time when HHVM was much faster than the PHP interpreter. But then PHP sped up, and once it became clear that peopl
844.
▲
by
muglug
7y ago
>> Quick to bash out a simple site. > This is precisely why I don't think it's the appropriate tool for any substantial, serious, or long-lived projects This is precisely why it is an appropriate tool - those simple sit
845.
▲
by
muglug
7y ago
> until you get arrays which can take anything There's a widely-used PHPDoc standard for annotating arrays: `Foo[]`, and there are at least three PHP static analysis tools that can correctly interpret those annotations: Psalm ( http
846.
▲
by
muglug
7y ago
There's a long discussion of the FAQ in the internals mailing list: https://externals.io/message/106503 It's important to understand that this is just a proposal from a core PHP developer - at the moment it s
847.
▲
by
muglug
7y ago
A lot of people can't easily leave PHP, because they work at companies that use it. Tools like [Psalm]( https://psalm.dev ), [Phan]( https://github.com/phan/phan ) and [PHPStan]( https://github
848.
▲
by
muglug
7y ago
Give C# a go. I'm a full-time PHP programmer, and C# has a lot of great things that PHP probably never will. > Nothing of remote interest is happening in PHP land for me. Nobody can make you interested in anything you don't wan
849.
▲
by
muglug
7y ago
The same issue is seen on social networks that identify users by their usernames: - before it was suspended, twitter.com/null had just 2 tweets, but over 70K followers: http://archive.is/Dt6af .
850.
▲
What Is Haberman?
(regexking.info)
5 points
by
muglug
7y ago
|
3 comments
851.
▲
by
muglug
7y ago
Try Psalm’s language server: https://psalm.dev/docs/running_psalm/language_server/ and let me know how it is for you - I use it on its own codebase (160k LOC) and also on Vimeo’s (much bigger)
852.
▲
by
muglug
7y ago
You can see Psalm's support today: https://psalm.dev/r/55e554c1d8 Psalm supports all the same checks on typed properties that it already does for properties with docblock-defined types, and will make sure all your
853.
▲
by
muglug
7y ago
> TS feels very C# like. Probably because they were created by the same person!
854.
▲
by
muglug
7y ago
There's nothing in the article to corroborate the most scandalous accusation here: Epstein, an American born in Brooklyn, was a secret Israeli agent operating a honey-trap in a plush Manhattan apartment.
855.
▲
by
muglug
7y ago
It sounds (from the article) like they have some sort of heuristic for determining potential severity, and they're ok with more false-positives in areas where the potential damage from a false-negative is very high.
856.
▲
by
muglug
7y ago
It's explained in the article: > We also use the traditional security programs to measure missed bugs (that is, the vulnerabilities for which there is a Zoncolan category), but the tool failed to report them. To date, we have had ab
857.
▲
by
muglug
7y ago
> At one point vimeo was making a serious run for global marketshare Vimeo hasn't been going for global marketshare of video watching in well over a decade - it ceded that competition to YouTube very early on by policing content mor
858.
▲
by
muglug
7y ago
It'd be cool if there were an option to disable it for an hour after someone replied to one of your comments - the throttling is great for when I'm just lurking, but bad for when I'm participating.
859.
▲
by
muglug
7y ago
Yes, it would just have taken a little longer (maybe a day).
860.
▲
by
muglug
7y ago
The account wasn't terminated - it was (temporarily) suspended. > Automatically deactivating links or removing URLs would be just as effective at avoiding harm Generally not - in the (much more common) case where the person being su
861.
▲
by
muglug
7y ago
> Does Vimeo has a way for human employee to proactively (not as a result of social media shaming) look at- and unblock customer account in case it was a result of false positive? No, but we have a great support team that responds to all
862.
▲
by
muglug
7y ago
I work at Vimeo. We use automated detection to flag suspicious accounts. This was a clear false-positive, and the account has been unsuspended. We don't convert urls to hyperlinks in video descriptions when the user has signed up recen
863.
▲
Sex, Drugs, Misogyny and Sleaze at the HQ of Bumble’s Owner
(forbes.com)
1 points
by
muglug
7y ago
|
0 comments
864.
▲
by
muglug
7y ago
> But for new development, I think you're much better off choosing a modern statically typed language if you think there's a chance your program will grow to some decent size. > By that, I mean C#, Go, Swift, Dart, Kotlin, e
865.
▲
by
muglug
7y ago
> the type system it has is woeful Check out a thing I made: https://psalm.dev . It allows you to add more descriptive types in docblocks. > no typing of local vars Why do you want explicit types for local vars?
866.
▲
The Wrong Right Way
(explore.xoxofest.com)
44 points
by
muglug
7y ago
|
22 comments
867.
▲
by
muglug
8y ago
The Milgram Experiment[1] shows that most people do go along with what an authority figure tells them. It’s one of the more depressing experiments in social psychology. [1] https://en.wikipedia.org/wiki/Milgram_experime
868.
▲
by
muglug
8y ago
Dreamweaver definitely had upload-on-save (not sure if that functionality predated Coda, but it was there the last time I used it in 2008 or so)
869.
▲
by
muglug
8y ago
Disclaimer: I’ve never met Julia, but have attended one of her talks in person. I feel the exact opposite - there’s far too much in CS that’s unnecessarily obfuscated. Sometimes the obfuscation makes the author/presenter seem smart, bu
870.
▲
by
muglug
8y ago
I created something similar in my PHP typechecker, powered by annotations: https://getpsalm.org/r/d882a4bb45
More ›