Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
j-kidd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
j-kidd
15y ago
And here's a great post that provides some insight on how much effort has been put in by RDBMS vendors to handle locking: http://stackoverflow.com/a/872808
152.
▲
by
j-kidd
15y ago
After reading the article and your comment, I went to watch "Why we think it's OK to cheat and steal (sometimes)" on youtube, while downloading both his books with bittorrent.
153.
▲
by
j-kidd
15y ago
I think it is fairly reasonable to expect such downtime for major version upgrade. Is there a DBMS vendor that can promise you otherwise?
154.
▲
by
j-kidd
15y ago
Not in my case, the client doesn't have the resource, and we don't have the expertise. At the end, I became somewhat of an expert in SQL Server (i.e. I know how to start SQL Profiler and read query plan), at the cost of important functional
155.
▲
by
j-kidd
15y ago
If possible, try not to go down the "support Postgres as well" route. I was in your situation, where client wanted SQL Server since they already have the license. During development, I use PostgreSQL instead, to "support Postgres as well".
156.
▲
by
j-kidd
15y ago
Modern stack is just not compatible with Ubuntu LTS. You can either pull stuffs from ppa, build them from source, roll your own packages, or, heaven forbid, choose a better distro.
157.
▲
by
j-kidd
15y ago
> The main thing one needs to think about when coding an app in a load balanced environment is that there’s no guarantee that request ‘n+1′ is going to land on the same server as request ‘n’, so you need to handle sessions in a centrali
158.
▲
by
j-kidd
15y ago
> Surprisingly, almost no one wears their headphones all the time while coding. The author should try reading Peopleware. Here's an excerpt from Chapter "Bring Back the Door": "In response to worker's gripes about noise, you can either
159.
▲
by
j-kidd
15y ago
Gitology is definitely a sunk cost, because of all the concepts you have to learn which are not applicable anywhere else. Here's a good example of what happens when a programmer learns git as the first DVCS: http://groups.google.com/group/
160.
▲
by
j-kidd
15y ago
Best tool for the job, can't agree more with that. We have a team that insists on using git when: - it is just a small team (less than 5 devs) - there is no github, just a locally hosted gitorious instance (proprietary project) - the lead d
161.
▲
by
j-kidd
15y ago
This is exactly what the OP warned against. When the marketing people find out about all these "near products" you guys churned out in a day, say goodbye to sane development schedule.
162.
▲
by
j-kidd
15y ago
Game-winning 3-pointer. That's it. I am now supporting any team he plays on.
163.
▲
by
j-kidd
15y ago
I have been running unbound for a month, and there is no noticeable difference in resolving time. This article provides a good read: http://linuxmafia.com/~rick/googledns.html
164.
▲
by
j-kidd
15y ago
The moral of story here is that if you have an expiring contract, you better hope your next opponent would be the Nets ;)
165.
▲
by
j-kidd
15y ago
I am a Nets fan for 12 years and hate the Knicks. Today I followed NYK vs MIN just because of Jeremy Lin. Game tied, 24 seconds left, and he got the ball in his hand. I could have became a Knicks fan if he made that layup. This is insane. N
166.
▲
by
j-kidd
15y ago
Virtualenv is a pragmatic approach to solve actual problems during both development and deployment. As long as you have a python executable (don't have to be installed system-wide) and the virtualenv.py module, you can create a virtualenv.
167.
▲
by
j-kidd
15y ago
Can you elaborate on that? The more I use Python, the more I find it to be a well thought out language with a very consistent feel, allowing me to write code without thinking. Well, except when it comes to decorators. How would you propose
168.
▲
by
j-kidd
15y ago
> If something is available legally and at a reasonable price (by which I mean not only available second hand for £100 as a collectable, rather than "99p for an MP3, that's outrageous" etc...) I either buy it or accept I won't have it.
169.
▲
by
j-kidd
15y ago
Sorry, I missed the point about "caring more as a local". I concur with that.
170.
▲
by
j-kidd
15y ago
Get off your high horse. Being American doesn't automatically make your code better. As a "foreigner", I recently had to deal indirectly with American developers (to integrate our product with theirs at the request of the client). They char
171.
▲
by
j-kidd
15y ago
Your comment, in particular the part about SQLAlchemy, reads a lot like the blub programmer.
172.
▲
by
j-kidd
15y ago
Semicolon makes it possible to do jQuery-style chaining with the least noise. I think frequent-backslash is uglier than always-semicolon.
173.
▲
by
j-kidd
15y ago
I don't get it. Why would one mock the database connection when the thing to be tested here is a stored procedure?
174.
▲
by
j-kidd
15y ago
> Dynamically typed languages basically have the problem that they can't get decent IDE support, ever. PyCharm. I was debating myself whether to spend $50 for PyCharm, or $60 for Sublime Text. Then I came to my senses.
175.
▲
by
j-kidd
15y ago
> SQL is much more versatile and flexible than objects/structs SQL isn't even turing complete. How can it be more versatile and flexible than your programming language of choice? > How would you expect an ORM to generate a "dense" q
176.
▲
by
j-kidd
15y ago
> The developer who can't use and understand SQL really has no business going near the ORM. Absolutely. First we have developers trying to use ORM (a.k.a. HideSQL) to avoid learning SQL. That fails. Now we have developers trying to use
177.
▲
by
j-kidd
15y ago
> Ultimately, people dislike ORMs for the same reason they dislike things like CoffeeScript This is not a good comparison. With ORM, you started with Python/Java/C#/etc + SQL, and ended with Python/Java/C#/etc + SQL (a lot less). There
178.
▲
by
j-kidd
15y ago
Also, in Debian, you have one guy maintaining a bunch of core packages: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573745#310 If you deploy Debian/Ubuntu on servers, your fate is pretty much dependent on this guy, unless you roll yo
179.
▲
by
j-kidd
15y ago
> Lars has promised to “sweet talk” the other browser vendors Sweet talking is no evil!
180.
▲
by
j-kidd
15y ago
> Roughly half of that is entirely closing braces/parens... This is good, as it improves the code's readability. > ...but the other half is actual code reduction/simplification, mostly from loop comprehensions. This may not be good,
More ›