Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gopalv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
691.
▲
by
gopalv
13y ago
This is just a bit too awesome, yet simple. Think of it as the "git" for debugging. Take a snapshot, keep going etc ... and then backtrack back to the point where it all started going wrong. Just very hard to automate easily, yet
692.
▲
by
gopalv
13y ago
For several years, you were considered to be living in the stone age if you still wrote PHP code. I think that trend has ended somewhat now. PHP is no longer uncool, but something useful you can use to throw your web-fronts together. Altern
693.
▲
by
gopalv
13y ago
Why Macbooks? Is Apple friendly towards people who replicate their connector interfaces? Or are Macs the only popular device out there where people wish "I wish I could carry an extra battery!"?
694.
▲
by
gopalv
13y ago
PHP is fast - I've been there, made ~4k RPS websites in PHP & memcache. There's one big, primary reason for it. PHP is dumb. You can't do clever things in PHP with the language, you have to all the clever things in how yo
695.
▲
by
gopalv
13y ago
Programmer Step #2 - write an automated solver :)
696.
▲
by
gopalv
13y ago
It's about the false sense of security. And that betrayed sense, which invokes a hint of paranoia - that bug looks too obvious to have been skipped in QA.
697.
▲
by
gopalv
13y ago
Ugh, is this going to look like Big Tobacco in 50 years? Vice taxes and revenue streams to be kept alive for the district? That's going to be such a kick-in-the-backside for everyone who just wanted to decriminalize it & stop putti
698.
▲
by
gopalv
13y ago
Python actually comes static shapes for objects with __slots__ class vertex(object): __slots__ = ["x", "y", "z"] I use __slots__ in most code after the first refactor for a very important reason - I
699.
▲
by
gopalv
13y ago
I have never used a setup like that - all I've done is throw an SSD in front of 3 disks. That said, the zfs log and zfs cache command supports mirror disks for log and allows more than 1 cache per pool. Using more than 1 SSD as a cache
700.
▲
by
gopalv
13y ago
They are both check-summed and copy-on-write. This is great for consistency and storage, but the first part somewhat sucks if you've built it into your layer as well (like hadoop fs). And it makes writes & reads a tiny bit slower t
701.
▲
by
gopalv
13y ago
Some factor of "Everyone who wants one - has one" applies. And then there's this - http://thedoghousediaries.com/5608 Once you hit the "content consumption from toilet" first world problem, the rest
702.
▲
by
gopalv
13y ago
I like Julia, but their multi-machine stuff needs a jolt. I spent some time with HDFS.jl and trying to re-do spawn to launch tasks onto a HADOOP/YARN cluster, but couldn't really get @everywhere includes to work. But oherwise comp
703.
▲
by
gopalv
13y ago
Mistake? No, this one goes all the way to 11 - or at least it should've (well, if you don't understand why ... watch the movie).
704.
▲
by
gopalv
13y ago
"perf top -e syscalls: statfs " particularly when you don't know which process is calling all the syscalls. Mix "perf record" and "perf trace" & you have the next generation of strace tools.
705.
▲
by
gopalv
13y ago
Carry a notebook, if you actually sit down in the train. You'll find that you are far more insightful and lucid when excluded from wasting time online/starting at a screen. Doodle, write, note down each station - just treat every
706.
▲
by
gopalv
13y ago
Rasmus wouldn't be idealistic (say compared to RMS). I have been in contact with both over different parts of my career. Rasmus is pragmatic. In some sense he would say "sure, go ahead and write that code" without telling you
707.
▲
by
gopalv
13y ago
The best teams I've worked in has had A-players, B-players and C-players. Some of the C-players were wild kids with potential, who needed mentoring. Some of the B-players were people who were not motivated at all - some because they wa
708.
▲
by
gopalv
13y ago
I feel for this guy - people can't understand that what he wants is "Life his way" and not to be a martyr to society burning his happiness to solve up equations. The greater good and so forth. But there is a fundamental angle
709.
▲
by
gopalv
13y ago
I fully understand what this means and I hope you do get calls about alternate licensing, but remember that people like me do not make these decisions. I thankfully don't have to - this means I don't need to talk to lawyers about
710.
▲
by
gopalv
13y ago
GNU AFPL? Clause 13 is a real pain to deal with when exposing this over the network. I guess the developer wants to sell a license (like the mysql java client GPL'ing). Can't blame him, he needs to get paid.
711.
▲
by
gopalv
13y ago
Sometimes it is a question of self respect. It's perhaps the last thing people cling to, to keep their sense of self alive. It is what probably keeps him going now. My father refused to take any real help, till his final days. In his o
712.
▲
by
gopalv
13y ago
A long time ago one of my teachers told me "One day, they'll figure out a way to build machines which will implement what you're thinking. Even then they will near clear thinkers to run them." Almost everything listed th
713.
▲
by
gopalv
13y ago
So it's popularity has a lot to do with the 2$ a bottle price? Sure, it tastes good but can we track down a fair bit of the popularity/availability on shelves to the cost factor?
714.
▲
by
gopalv
13y ago
A lot of extensions expose async modes, use them. On the extension APIs curl-multi - http://php.net/manual/en/function.curl-multi-select.php memcached-getdelayed - http://us2.php.net/manual/en
715.
▲
by
gopalv
13y ago
Long term php guy (I maintained APC for years, slowly given up now), so I've worked a lot with ~2k/3k request-per-second PHP websites. The real trick here is async processing. A lot of the slow bits of PHP code is people not writi
716.
▲
by
gopalv
13y ago
HyperLogLog based COUNT DISTINCT APPROXIMATE, that's an interesting development in there (simple algorithm, but complex math). I wonder what hashes they are using.
717.
▲
by
gopalv
13y ago
This keeps getting reinvented, because using LDAP for this sucks. Google had slack, which mapped MAC address -> roles Yahoo had Igor, which did nearly the same (which used yinst, which had package activation for rollbacks) Then we saw Pu
718.
▲
by
gopalv
13y ago
How this is a big surprise? If the man you're looking for is one in a million, we've probably got a thousand of them for you to pick from. But I think there needs to be a defense made about cheap indian labour & why it works f
719.
▲
by
gopalv
13y ago
That is just step #1. Waiting for quality for release is always a mistake. Release, refine and re-release. And A/B test, run the funnels and measure change as it happens. Productivity on day #1 with bad code is a technical debt you tak
720.
▲
by
gopalv
13y ago
For a ridiculous comparison of how cheap/expensive Mangalyaan was http://www.wolframalpha.com/input/?i=%28425+x+10%5E7+INR%29+... Not that it matters, but I pay more for my city commute per-km.
More ›