Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mhotchen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
mhotchen
9y ago
C++: https://github.com/telegramdesktop/tdesktop
62.
▲
by
mhotchen
9y ago
This was ten years ago; I might try and dig it up to see if I can get it back, but honestly by now I imagine all hope is lost.
63.
▲
by
mhotchen
9y ago
I tried starting a business selling those 30 day WoW subscription cards as I came on to a box of them for fairly cheap. I sold most of them, then one person falsely reported me of fraud and that was it, my paypal account which had all of my
64.
▲
by
mhotchen
9y ago
SQLite, LMDB and RocksDB are all popular and embedded. They're not really web-centric though so don't get as much exposure on HN and its ilk. Edit: Sorry if I sound like "that guy," just offering up some names in case pe
65.
▲
by
mhotchen
9y ago
I've used it as an end-user in an enterprise with LDAP integration. It worked well in that situation and our sysadmin who set it up was happy with it as well. At home where it's just me using the passwords across a couple of devic
66.
▲
by
mhotchen
9y ago
It is different though. When I've broken bones and had to wear a cast it's a novelty so I enjoy the fluttering moment of being the centre of attention. But when it's something that they have to deal with for the rest of their
67.
▲
by
mhotchen
9y ago
Maybe he's using a front-end cache like Varnish which is effectively generated static content held in memory.
68.
▲
by
mhotchen
9y ago
I've been travelling for a while in areas with slow internet and the best site for me has to be HN. No BS, it just loads and gets out of my way so I can access the content. I'm in China atm, which is probably an area that Stripe w
69.
▲
by
mhotchen
10y ago
> the rule would be no ternary operators Why not "no nested ternary operators"? > You don't need to wrap if conditions unless you have a multi-line body Why not "keep unwrapped if conditions on a single line"?
70.
▲
by
mhotchen
10y ago
Despite being in the man page, the flag --version didn't work for me on Ubuntu 16.04 (various different installations): $ init --version init: unrecognised option '--version' systemd --version works though:
71.
▲
by
mhotchen
10y ago
Many of the programmers I have worked with actually love complexity, despite trying to convince others (and most likely themselves) that they hate it. Advice tends to be cherrypicked to suit an agenda they already have (with your example on
72.
▲
by
mhotchen
10y ago
He's started work on his next book[0] which looks to be interesting. [0] http://modern-sql.com/
73.
▲
by
mhotchen
10y ago
Yeah good point, you're right. The root user is defined as root@localhost, not root@%.
74.
▲
by
mhotchen
10y ago
On Ubuntu specifically if you do the quiet option (for example as part of an automated script) then it will leave it blank. Even with the prompt it says it's optional but encouraged.
75.
▲
by
mhotchen
10y ago
I wouldn't call it a bastion of security but MySQL typically installs with a root user with no password. So how do they not have the same level of exposed data? By default only local connections are allowed. If Mongo had the same patte
76.
▲
by
mhotchen
10y ago
I use JSON API which allows for "compound documents" instead of deeply nested results[1]. I would say it's well expressed, and it doesn't violate any of the principles of REST. [1] http://jsonapi.org/form
77.
▲
Programming is boring
(dividebyze.ro)
72 points
by
mhotchen
10y ago
|
71 comments
78.
▲
by
mhotchen
10y ago
Well just take the example on their page for example. With ESI you would fire off to a server process that has to then go seek a user, then build up some HTML using a templating language in python or whatever you're using and return it
79.
▲
by
mhotchen
10y ago
It doesn't confirm that China is 'rural at its core' at all. When more than half the world lives in urban centers then being in the bottom half doesn't mean anything. If over half a country lives in urban centers then yo
80.
▲
by
mhotchen
10y ago
It's still wrong to call a country with over half its population in cities "rural at its core". It isn't transitioning from a 'rural era' either. It's more urbanized than Slovakia, Romania, Slovenia, and s
81.
▲
by
mhotchen
10y ago
China's urban population is over 740 million[1]. For perspective the USA is almost 260 million[2]. I don't think your assumption holds up in the modern world. Maybe 20 years ago. https://www.quandl.com/data/WO
82.
▲
by
mhotchen
10y ago
I looked at it a while ago using OpenSSH's AuthorizedKeysCommand feature and found Phabricator's implementation for vcs over SSH to be the most understandable thing I could find. https://github.com/phacility/p
83.
▲
by
mhotchen
10y ago
> A job is just a deal. It is a deal between you and a company to exchange labor for money (and other things you value). This came naturally when I became a contractor. Rather than having a salary based on market rates, I was offering th
84.
▲
by
mhotchen
10y ago
They wouldn't ask questions or admit that they're struggling with something. I saw a lot of this in the interviews as well, you would ask a question like "do you know what X is" and they would say yes, but then sit in si
85.
▲
by
mhotchen
10y ago
Yeah these definitely weren't top tier developers. Even so I was happy with the quality of the code on the two we retained, it was everything that goes around it that I struggled with. For example they wouldn't ask questions or ad
86.
▲
by
mhotchen
10y ago
I set up an offshore team of four in India some years back. Two of the developers ended up being lackluster and let go, but two of them continued on as they were fairly decent. Even so the cultural difference was significant and it was diff
87.
▲
by
mhotchen
10y ago
My first dev job was like this as well, also in a tiny company hiring at a slow rate (I was the only person hired in my time there, and also the only employee). I think that this sort of thing worked for the company I was employed at becaus
88.
▲
by
mhotchen
10y ago
There's also these: - https://runc.io/ - https://linuxcontainers.org/ And I'm not sure if they're the same thing, compatible, or what. I'm going to let someone else pick the winner for m
89.
▲
by
mhotchen
10y ago
Hey thanks for this, I finally got around to watching it. That's a very interesting way of handling it.
90.
▲
by
mhotchen
11y ago
Yeah that makes a lot of sense. I think points two and three would be beneficial to the article, because point one by itself could be said of a lot of things (eg. large methods and classes, or deeply nested and complex algorithms). Thanks f
More ›