mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 07:31:00 +00:00
1 line
13 KiB
JSON
1 line
13 KiB
JSON
[{"user_id": 13912, "stars": [], "topic_id": 35414, "date_created": 1305501278.5356231, "message": "what exactly?", "group_id": 81, "id": 1064312}, {"user_id": 1736, "stars": [], "topic_id": 35414, "date_created": 1305502577.47089, "message": "pip install Django, just like everywhere else.", "group_id": 81, "id": 1064452}, {"user_id": 960, "stars": [{"date_created": 1305588339.5131271, "user_id": 1736}, {"date_created": 1305589280.878562, "user_id": 927}, {"date_created": 1305599502.2231231, "user_id": 22109}, {"date_created": 1305663663.9655499, "user_id": 13912}, {"date_created": 1305740245.9293301, "user_id": 4748}, {"date_created": 1305958612.9462039, "user_id": 209}], "topic_id": 35414, "date_created": 1305584801.399034, "message": "@ethanmiller Don't add to the fud. `brew install postgresql python` and you're pretty much done.", "group_id": 81, "id": 1075636}, {"user_id": 12843, "stars": [], "topic_id": 35414, "date_created": 1305584021.996757, "message": "if it's PostgreSQL, psycopg is probably the pain point. I'd say VirtualBox + Linux of some sort. Likely to be more production-like, and much simpler to configure.", "group_id": 81, "id": 1075542}, {"user_id": 927, "stars": [{"date_created": 1305620544.9735489, "user_id": 26925}, {"date_created": 1306057593.3442099, "user_id": 31117}], "topic_id": 35414, "date_created": 1305589389.0383861, "message": "What @tswicegood said: install homebrew, virtualenv and virtualenvwrapper and get back to the interesting parts", "group_id": 81, "id": 1076158}, {"user_id": 22502, "stars": [{"date_created": 1306103692.262599, "user_id": 22943}], "topic_id": 35414, "date_created": 1305651768.524209, "message": "wish i had known about these things when i was installing on OSX, i spent wayy too much time getting MySQLdb installed just cause I was used to using MySQL with PHP", "group_id": 81, "id": 1085070}, {"user_id": 15211, "stars": [], "topic_id": 35414, "date_created": 1305660432.8070071, "message": "Hade the same problem myself, so I wrote a blogpost on howto get mysql to play with python on mac, http://p.bergqvi.st/mac-python-27-mysql-and-python-mysql", "group_id": 81, "id": 1087082}, {"user_id": 3354, "stars": [], "topic_id": 35414, "date_created": 1305699157.307852, "message": "I was lucky when I started using the Mac - someone pointed me to homebrew before I got into deep waters, and for products with recipes it's worked very well so far.", "group_id": 81, "id": 1093432}, {"user_id": 33421, "stars": [], "topic_id": 35414, "date_created": 1305812042.5963521, "message": "yowsers.. that is a world of pain right there.. just get vmware or virtualbox install ubuntu and your life becomes somewhat easier :) right tool for the job :)", "group_id": 81, "id": 1111167}, {"user_id": 33202, "stars": [], "topic_id": 35414, "date_created": 1305810869.2270491, "message": "+1 for homebrew || Personally I just download the MySQL binary distribution for OSX and install everything else with pip (including PIL / mysql-python / other binary packages)", "group_id": 81, "id": 1110958}, {"user_id": 26888, "stars": [], "topic_id": 35414, "date_created": 1305871137.855078, "message": "Get your postgres/mysql binaries installed, use virtualenv/buildout and I never had a simple issue", "group_id": 81, "id": 1121123}, {"user_id": 26888, "stars": [], "topic_id": 35414, "date_created": 1305871723.888303, "message": "offby1: not much than virtualenv does. In my case, it is just a matter of personal choices - I feel my production servers cleaner than with virtualenv", "group_id": 81, "id": 1121226}, {"user_id": 4748, "stars": [], "topic_id": 35414, "date_created": 1305871292.952024, "message": "Out of curiosity, what does buildout buy me? I've never figured this out.", "group_id": 81, "id": 1121146}, {"user_id": 1736, "stars": [{"date_created": 1305900264.664865, "user_id": 960}, {"date_created": 1305942979.3224649, "user_id": 22109}], "topic_id": 35414, "date_created": 1305876739.5053971, "message": "@offby1 Pain and suffering. It almost duplicates the pip/virtualenv combo, but notttt quiteee. There is no appreciable reason to use it anymore if you aren't using Plone.", "group_id": 81, "id": 1122019}, {"user_id": 960, "stars": [{"date_created": 1305943027.8394279, "user_id": 22109}], "topic_id": 35414, "date_created": 1305900339.1752939, "message": "It's model fits zope, but not modern python", "group_id": 81, "id": 1125956}, {"user_id": 960, "stars": [{"date_created": 1305942980.9820659, "user_id": 22109}], "topic_id": 35414, "date_created": 1305900292.094588, "message": "@linovia -1 buildout is a relic. virtualenv a pip requirements file or two buy you everything you need.", "group_id": 81, "id": 1125935}, {"user_id": 960, "stars": [{"date_created": 1305943025.666353, "user_id": 22109}], "topic_id": 35414, "date_created": 1305900325.701292, "message": "Every project I've used that has buildout has been converted. Every person I personally know that used buildout at any point has switched away.", "group_id": 81, "id": 1125950}, {"user_id": 26888, "stars": [], "topic_id": 35414, "date_created": 1305902978.975328, "message": "@tswicegood: please, keep on the topic", "group_id": 81, "id": 1126400}, {"user_id": 26888, "stars": [], "topic_id": 35414, "date_created": 1305905140.6011569, "message": "@tswicegood: good, open a thread and argue about it, there's no argument in what you said yet", "group_id": 81, "id": 1126832}, {"user_id": 960, "stars": [{"date_created": 1305943677.536437, "user_id": 22109}, {"date_created": 1305946593.2923231, "user_id": 1736}], "topic_id": 35414, "date_created": 1305905016.2420239, "message": "@linovia that is on topic -- I'm trying to keep anyone from stumbling upon this thread from thinking that buildout is a viable option.", "group_id": 81, "id": 1126784}, {"user_id": 4748, "stars": [], "topic_id": 35414, "date_created": 1305940110.7274981, "message": "@coderanger @tswicegood Thanks for the answer.", "group_id": 81, "id": 1131545}, {"user_id": 1332, "stars": [], "topic_id": 35414, "date_created": 1305957946.2582681, "message": "I second what @stardog101 says. Do not install Django/virtualenv/mysql on MacOSX. You'll be on a world of pain. Install VirtualBox or VMWare and run it from any Linux flavor.", "group_id": 81, "id": 1132863}, {"user_id": 30644, "stars": [{"date_created": 1305990584.275074, "user_id": 960}, {"date_created": 1305991109.7229609, "user_id": 22109}, {"date_created": 1305997676.450736, "user_id": 209}, {"date_created": 1306008507.42887, "user_id": 28384}, {"date_created": 1306026358.725101, "user_id": 27106}, {"date_created": 1306117678.4055769, "user_id": 12817}, {"date_created": 1306306338.1427979, "user_id": 15162}, {"date_created": 1306417773.279444, "user_id": 13876}, {"date_created": 1306470000.901305, "user_id": 6618}], "topic_id": 35414, "date_created": 1305989963.524102, "message": "Installing virtualbox or vmware just to do django development makes no sense, unless you're trying to match your deploy environment exactly (which is fine, but you don't really need to do that). There is no \"world of pain\", I don't know where you people are getting that from.", "group_id": 81, "id": 1134387}, {"user_id": 26888, "stars": [], "topic_id": 35414, "date_created": 1305990372.354296, "message": "For my part, if I remember correctly, I have installed xcode and the 'official' package (.dmg) from mysql.com and use the apple default python", "group_id": 81, "id": 1134418}, {"user_id": 960, "stars": [{"date_created": 1305997706.9432559, "user_id": 209}, {"date_created": 1306057710.0854859, "user_id": 31117}, {"date_created": 1306190195.6785851, "user_id": 22109}], "topic_id": 35414, "date_created": 1305990677.4229779, "message": "Most of the issues I've heard with Mac development revolve around mixing the default Python framework build with custom compiled code and/or multiple versions of Python without using something like virtualenv to isolate them.", "group_id": 81, "id": 1134427}, {"user_id": 26888, "stars": [], "topic_id": 35414, "date_created": 1305990294.9065039, "message": "There are a couple of people that do have important issues. A few others seem to have none. What could be interesting is understanding why the experiences seem to differ so much. On my side, I have 3 osx running with django/mysql and a few other things compiled (PIL, mongo) and so far I can't remember any issue.", "group_id": 81, "id": 1134416}, {"user_id": 26888, "stars": [], "topic_id": 35414, "date_created": 1305990495.536972, "message": "oh, by the way, I did not install brew or other 3rd parties packaging systems", "group_id": 81, "id": 1134424}, {"user_id": 22109, "stars": [], "topic_id": 35414, "date_created": 1305991490.4224219, "message": "I've been developing with Python on OS X since 10.4. The few problems I've had have simple fixes that take less than a minute to apply (setting ARCHFLAGS, mostly).", "group_id": 81, "id": 1134518}, {"user_id": 30644, "stars": [], "topic_id": 35414, "date_created": 1305992785.6288171, "message": "I recommend homebrew + virtualenv (+ virtualenvwrapper). Also, you should probably use Pillow instead of PIL (Pillow is PIL with some packaging issues fixed). I haven't had any issues with this setup, and IMO it's simpler than having to boot up a VM whenever you want to work on a site.", "group_id": 81, "id": 1134628}, {"user_id": 12843, "stars": [], "topic_id": 35414, "date_created": 1306013879.5906451, "message": "I also prefer the CentOS vm because I do some sys-admin type work - it's nice to have environment where tools like top and lsof work the same as production.", "group_id": 81, "id": 1137449}, {"user_id": 12843, "stars": [], "topic_id": 35414, "date_created": 1306013759.999366, "message": "my painful experience had to do with upgrading from leopard to snow leopard & psycopg2 (had to do some 32 vs 64-bit python hoop jumps). I was using macports at the time - by the time I became aware of homebrew I had already given up and moved everything to a CentOS vm. If you have any apt-get or yum experience, installing stuff with macports is such a drag.", "group_id": 81, "id": 1137412}, {"user_id": 1332, "stars": [{"date_created": 1306138009.5080979, "user_id": 22200}], "topic_id": 35414, "date_created": 1306041825.2985151, "message": "There are two main benefits: one, it's to match your deployment environment. We have Fedora on our production servers, so having Fedora locally using a VirtualBox allows us to match versions of all packages, which is important. Second, running Django/MySQL, potentially Apache slows down your machine. With a VM, you spawn it (takes seconds), work on your code, and then suspend (save) your instance, freeing all that RAM for you laptop.", "group_id": 81, "id": 1140076}, {"user_id": 18665, "stars": [], "topic_id": 35414, "date_created": 1306053108.3556061, "message": "I've used both OSX and an Ubuntu Virtual Box VM and both have their advantages and disadvantages. The main reason why I have persisted with developing on OSX and not in the Ubuntu VM is the VirtualEnv support in PyCharm. Otherwise, give me apt-get, Ubuntu and VirtualBox any day. I now use the Ubuntu VM as a staging server as it mirrors my production setup. I think both setups are great, whatever helps you be more productive.", "group_id": 81, "id": 1140471}, {"user_id": 26920, "stars": [], "topic_id": 35414, "date_created": 1306176522.436672, "message": "The initial pain with OSX is dealing with compiled things like mysql. But those issues aside, I've found no real reason not to use OSX for dev work. It's \"close enough\" to our Linux prod systems that I've not had issues moving between them. I don't like having to fire up a VM just to do development work.", "group_id": 81, "id": 1155576}, {"user_id": 1332, "stars": [], "topic_id": 35414, "date_created": 1306177470.791337, "message": "@swilcox, \"firing up\"? it takes seconds to fire up a saved VB VM instance...", "group_id": 81, "id": 1155817}, {"user_id": 12030, "stars": [{"date_created": 1306243284.8293669, "user_id": 927}, {"date_created": 1306523180.1164401, "user_id": 26595}], "topic_id": 35414, "date_created": 1306183136.1349161, "message": "Brew + Virtualenv and you're fine. Unless for some reason you have to match your development environment exactly, there is just no need to waste the resources. You have to assign (n) amount of cpu power and ram to the VM when it's just not necessary. I have a couple of quick bash aliases that launch Nginx, Redis, Mongo, PostgreSQL & MySQL depending on which project I plan on working on (I'm anal, I don't like these things starting up with my laptop unless I need them). Pip handles versioning to match your production environment if you use it correctly. Pair that with tmux and vim and you've got the best of both worlds imho.\n\nWith the newest 15\" MBP my machine idles at 50-55C. Boot up a VM and I'm around 70C.", "group_id": 81, "id": 1156781}, {"user_id": 26920, "stars": [], "topic_id": 35414, "date_created": 1306244900.4469531, "message": "@jungleg I believe @chrisjones kind of answers that. There's just something nice about editing and running on the actual OS you've booted. If I couldn't use my Mac this way, I don't think I'd bother having a Mac at all. I'd just have a laptop running ubuntu. Kind of a waste of a Mac if it's just a platform for launching a VM instance.", "group_id": 81, "id": 1166018}, {"user_id": 1332, "stars": [], "topic_id": 35414, "date_created": 1306300339.214227, "message": "@swilcox @chrisjones, the way I use it is instantiating it just for the Apache/MySQL/Django server, but using Samba, I still code on my MacOS (lately I'm using Sublime Text), so I get the best of both worlds.", "group_id": 81, "id": 1174451}] |