Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Walkman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
331.
▲
by
Walkman
10y ago
This is a joke. The whole "library" is 200 lines, has 9 tests, Kenneth probably wrote it in a couple of hours. It is totally not necessary, because, there are a gazillion datetime libraries and still, this is on the front page? A
332.
▲
by
Walkman
10y ago
Why didn't you born sooner? :D
333.
▲
by
Walkman
10y ago
A little bit about 0-based indexing on the practical side from Guido van Rossum: http://python-history.blogspot.hu/2013/10/why-python-uses-0-...
334.
▲
by
Walkman
10y ago
Pyret's syntax looks far more complicated to learn than Python's for a beginner.
335.
▲
How Netflix gives all its engineers SSH access
(oreilly.com)
24 points
by
Walkman
10y ago
|
4 comments
336.
▲
Why Redux? Why Now?
(blog.jumpcut.com)
2 points
by
Walkman
10y ago
|
0 comments
337.
▲
Tmate – Instant terminal sharing
(tmate.io)
1 points
by
Walkman
10y ago
|
0 comments
338.
▲
by
Walkman
10y ago
Sorry but this has nothing to do with the article.
339.
▲
by
Walkman
10y ago
Example 1: You can stop all instances and wait for sycn/migration to complete, and start all instances. Example 2: (which is much better IMO) deploy the new version, but keep the older versions running. Sync/migrate one-by-one and
340.
▲
by
Walkman
10y ago
That's the worst thing you can do. The change will be forgotten and will never be properly worked out. Why should it? It just works. I have seen a 270k loc codebase where every change has been made by this kind of thinking. Nobody ever
341.
▲
by
Walkman
10y ago
You are right. Without multitenancy, you have to write the automation code, however, it's much better IMO, because with multitenancy, you have to think about tenancy ALL THE TIME not just that one time. So I think overall it's a b
342.
▲
by
Walkman
10y ago
In my experience there is no point developing multi-tenant software nowadays, because operating large number of isolated environments is a solved problem and really cheap nowadays. You can buy VPS-es for less then 5$ today, you can automati
343.
▲
by
Walkman
10y ago
Not at all. You can do it with multiple ways, e.g. with Docker
344.
▲
by
Walkman
10y ago
If you are interested in the topic of multi-tenancy, this Microsoft article is the best I ever found: https://msdn.microsoft.com/en-us/library/aa479086.aspx
345.
▲
by
Walkman
10y ago
There is a scene in Silicon Valley (the series) where Richard thinks the interface of the platform is really simple and intuitive, but turns out he only asked Level 3 people and above and it was not easy to use at the Level 1 people.
346.
▲
by
Walkman
10y ago
The best part: "It is encouraging to see that a community can discuss such issues without heating up too much and shows great maturity for the Django project."
347.
▲
by
Walkman
10y ago
Either I don't understand something or the Resulting bytes after c should be '11100100' and after d should be '11100110'.
348.
▲
by
Walkman
10y ago
> This module performs conversions between Python values and C structs represented as Python strings. You can, but probably it's even slower than doing regular bit shifting operations (<<, >>, &, |, ^, ~)
349.
▲
by
Walkman
10y ago
I guess we never do bit shifting in higher level languages at all. E.g. in Python, there is no point to do this, there is only one type of int (64 bit) and it still creates a new int object, which is not very fast.
350.
▲
by
Walkman
10y ago
Yeah, nesting is a nightmare, but you can define your URL pattern any way you like instead of using the router.
351.
▲
by
Walkman
10y ago
I was recently surprised that Django can handle object level permissions very nicely. The support is built in, but nit implemented in Django itself, but you can simply use django-guardian and everything just works.
352.
▲
Dockerizing MySQL at Uber Engineering
(eng.uber.com)
117 points
by
Walkman
10y ago
|
102 comments
353.
▲
by
Walkman
10y ago
Thanks for explaining!
354.
▲
by
Walkman
10y ago
You are the only one cared to elaborate, thank you very much!
355.
▲
by
Walkman
10y ago
For me it questions that the author is knowledgable enough to teach me any detail about Ruby.
356.
▲
by
Walkman
10y ago
I know the point is somewhat pedantic, but I just don't really like to learn from people who doesn't even know what is what. Somewhat invalidates the article IMO, but I read it anyway, just with very carefully, trying not to learn
357.
▲
by
Walkman
10y ago
Ok, now I know why! There are a lot of ignorant people here, wow!
358.
▲
by
Walkman
10y ago
It's unbelievable that an article can get to HN front page in which the author doesn't know the difference between Rails and Ruby. So annoying! This is NOT Ruby for God's sake: SYSTEM_EPOCH = 1.day.ago.to_i
359.
▲
by
Walkman
10y ago
I was confused two times what the heck is he talking about now.
360.
▲
by
Walkman
10y ago
I was.
More ›