Earlier quoted context omitted.
The backslash commands are way better than having to type out SHOW TABLES; or SHOW DATABASES;, or CONNECT DATABASE X. All I have to do is \dt or \c x. It's so much better. Can't remember them? Just do \?.
Thats like trying to say emacs is easier than eclipse. Sure it may be more efficient once you are used to it, but its not more intuitive.
“Fashion Is Hard. PostgreSQL Is Easy” [video]
71–80 of 140 posts
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#72Earlier quoted context omitted.
Yes, their website still sucks in the same ways it did 3 years ago. It boggles the mind. They have a huge selection, expensive advertising campaigns and lenient shipping & return policies, fueled by huge sums of money, so they have a huge market share. Its nice, but execution is merely decent imho.
Try a rewrite at a company with more than 100 employees... cf http://www.joelonsoftware.com/articles/fog0000000069.html
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#73Earlier quoted context omitted.
As someone who's used to MySQL, I keep trying to use PostgreSQL (better standards compliance, better behaviour in the face of bad data) - and I keep going back. The psql interface is awkward (too many magic backslash commands to memorize instead of SHOW CREATE TABLE) and always feels slightly laggy somehow.
Count another vote for the pgadmin. I hate the backslash commands of postgres, about as much as I hate the show commands of mysql (what's not nearly as much as I hate the oracle introspection tools). Why couldn't SQL standardize database introspection?
90% of the time, I don't need to remember any special commands for introspecting and since it's on Windows - I can use the keyboard to navigate the entire UI with ease. When I write SQL, I get glorious Intellisense (that's autocomplete to you) for every single object (edit: and command) in the db.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#74I had a job interview at Zalando a while ago, and apart from the huge bunch of bananas at the entrance to the developer's den, the one thing I remember most about was the fact that apparently they're using stored procedures for basically any database transaction. Which is probably a more unorthodox use of databases these days, at least for Postgres (I've heard it was more common for SQL Server and I once had the ques…
He also mentioned that Zelando does 100 data model (schema?) changes per week, and that senior dev make code changes without code review.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#75Earlier quoted context omitted.
> Ctrl-c kills the whole shell. great, but not what I expect. That is actually exactly what you should expect. SIGINT cancels most things you run in the CLI. Interrupt a ping because you forgot a count parameter? Ctrl+C Honestly, the reason I don't use Postgres has nothing to do with the CLI and everything to do with the ecosystem for Multi-Master being inferior to Galera. But yeah, I'm happy with mysql-cli as well a…
Ping isn't a CLI, its a single command that expects no further input. A database shell is more like bash than ping. And Ctrl-C does not exit out of bash.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#76Earlier quoted context omitted.
A t-shirt for 1.75 € is so cheap that it's practically guaranteed to have been manufactured in dangerous conditions in a place like Bangladesh or Ethiopia. Big brands like Adidas or Under Armour don't have a clean track record either, but at least they are somewhat accountable to consumers because their #1 asset is their reputation. To fix global trade, it's better to do a bit of research into what kind of company yo…
You mean the money is actually going to poor people? Sounds like a plus to me.
The "poor people" won't benefit from most of the branded product's premium, of course. But it's more likely that it's been produced by a subcontractor that at least respects local laws like minimum wage, construction standards and regulations concerning toxic materials.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#77I had a job interview at Zalando a while ago, and apart from the huge bunch of bananas at the entrance to the developer's den, the one thing I remember most about was the fact that apparently they're using stored procedures for basically any database transaction. Which is probably a more unorthodox use of databases these days, at least for Postgres (I've heard it was more common for SQL Server and I once had the ques…
Though, with modern PostgreSQL, views-for-everything would probably work at least as well as stored-procs-for-everything.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#78Earlier quoted context omitted.
If you haven't already checkout pgadmin-3, I mostly live in the cli but if I need to do something complex or write a large query I often jump into pgadmin as it's display and proper editor are excellent!. Prefer it to MySQL Workbench even which I liked.
I've recently made the switch to postgres, and then I found pgadmin3, and I'm really feeling some pain. For instance, the "explain query" visualization is great, and very helpful, but there's no way I can find to zoom out, at all . And that window doesn't support mouse scrolling. And there's no way to export the visualization somewhere else. So when I'm trying to figure out why a very, very large query is running slo…
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#79Earlier quoted context omitted.
You mean the money is actually going to poor people? Sounds like a plus to me.
Certainly not. The ultra-cheap stuff is cheap throughout the production pipeline. Costs are cut wherever possible: wages, tools, work environment, materials, packaging... The "poor people" won't benefit from most of the branded product's premium, of course. But it's more likely that it's been produced by a subcontractor that at least respects local laws like minimum wage, construction standards and regulations concer…
As it ever been studied if the work conditions of the workers making branded stuff are generally better than their counterparts working on cheaper clothes?
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#80Earlier quoted context omitted.
You are the first person I read saying they like the mysql cli. Ctrl-c kills the whole shell. great, but not what I expect. Want to fix a small typo in your big query? In psql you can just edit your last command in your $EDITOR. Useful (but not perfect) autocomplete is also not in mysql.
In MySQL type \e and you can edit your query just the same. https://dev.mysql.com/doc/refman/5.6/en/mysql-commands.html
I've got my biases, but whenever something like this comes up, I just make some popcorn and enjoy the show.