I have tried this to rotate text to 270 Degree
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
@YiJiang That happened to me the other day, but I was in the process of leaving the page, so I didn't get a chance to try and figure out what happened.
I've learned from Stack Overflow that some of the code I've been writing so far is considered "bad practice". Like using tons of global variables, create_function() etc. I'm curious to know more about this.
Post examples of bad practices in PHP and why. Please only post one bad practice per answ...
@Kragen They're a pretty good read on reddit, too, or PSE. I don't know why we can't make the distinction between "interesting" and "belongs on SO"; they're not the same
Besides the fact that SO sucks at list posts, and always has, you really thing a post listing all of PHP's flaws is a way to attract experienced PHP coders?
@MichaelMrozek I'm not saying that they belong on SO or that new questions shouldn't be promptly closed and locked, but the answers that are already around do belong to the community - There are now lots of questions with plenty of votes and quality answers that were just blanket deleted by a moderator with no input from the community.
Good answers to a "bad programming practices" are going to come from the same people that write to TheDailyWTF and other blogs for professional programmers... programmers that have enough experience to recognize bad practices...
@Kragen Then I think you're having a different argument
@DanGrossman Except the real expert programmers we're trying to attract were sick of those posts before SO even existed, and don't want to keep running into them here
Just because they know the answer doesn't mean they're interested in the post
@MichaelMrozek, I'm actually quite serious, because all of the SE sites run into the polls/list problem. People WANT to ask these questions, that's why they (the questions) keep coming. The problem isn't that SO isn't the right place, the problem is that Q&A isn't the right format
@Benjol I am too; PSE started off as exactly what you describe, a place to let people go wild with their poll questions so they could leave us alone. Then SOIS decided they didn't like the free-for-all and locked it down during the beta
I don't see what's so bad about poll / subjective questions - people clearly enjoy both asking and participating in them and they are easy enough to avoid if you don't like them.
@Benjol I think most people agree that the SO engine isn't a good fit for poll questions, we just got tired of arguing and said "you know what, fine, if you insist, here's a special SE site where you can go nuts"
@Kragen They're bad because the whole SO engine is designed around "ask a question, get answers, upvote the best ones, accept the one that solved your problem". Half of those steps don't make sense for subjective/poll questions
Obviously you don't want the site to be overrun with them for exactly the same reason that I have no interest in PSE, but I do think that the occasional popular question that many people gets involved in is good for the community overall.
@Kragen It's a question of rep too. In fact I think it's entirely a question of rep. Getting thousands of rep for cracking jokes works against the quality of the site
Anyway, I stand by my suggestion. These questions keep coming, and no one will stop them. Closing them generates bad blood. PSE wasn't a solution because Q&A isn't the right format. Solution: polls.x.com Though I guess it's not gonna be very high on the priorities :)
Besides, many poll questions genuinely are really useful - for example its handy to know (for example) what peoples favourite text editor is, or what their favourite javascript debugger is as a rough metric of quality.
@Kragen And if we could seriously say "ok, once a month we'll let somebody go for it", I'd be fine with it, but that's not what happens. People see "Top bad practices in PHP" and think "wow, look how popular that was. I'll go post 'Top bad practices in Java'", and if you try to close that one they flip out and point to the PHP one as evidence that those questions are ok. This is what happened with the "hidden features" posts
If you could go back in time and tell yourself to read a specific book at the beginning of your career as a developer, which book would it be?
I expect this list to be varied and to cover a wide range of things.
EDIT: Before adding a another book/answer, please search for it first and upvote ...
it was that 2k+ could singlehandedly approve pending edits, since we can edit without approval in the first place, but there was a limit to how much rep this would award any single user per day
They changed SO because edits were getting approved pretty much instantly, even if they should've been rejected. They also changed it so the indicator in the top bar only shows up if there's 5+ posts waiting
I've got mixed feelings about opening edits like that. The majority of the edits that I see are good quality, but there are a considerable amount of "edited just cuz I could" edits
I liked the "everyone without rep can suggest edits ONLY if the question is old" idea
let drive-bys suggest fixes to old stuff nobody else is tending to, don't let them randomly edit new stuff without rep to prove they know what they're doing
@YiJiang, you won't be able to see it. it was a one-character typo on atheism that was bugging me, so I <!-- the system wants stupid, I provide stupid -->
@MichaelMrozek, there's nothing more frustrating than a link saying "come on, edit me", then a "Na!, your edits too short, come back when you've grown up"
The Chocolate Hills are an unusual geological formation in Bohol, Philippines. According to the latest accurate survey done, there are 1,776 hills spread over an area of more than . They are covered in green grass that turns brown during the dry season, hence the name.
The Chocolate Hills are a famous tourist attraction of Bohol. They are featured in the provincial flag and seal to symbolize the abundance of natural attractions in the province. They are in the Philippine Tourism Authority's list of tourist destinations in the Philippines;
Description
The Chocolate Hills is a rollin...
That's another natural wonder
Nobody is quite sure why they formed that way. It's like giant ants inhabited the world long ago.
Four legends explain the formation of the Chocolate Hills. The first tells the story of two feuding giants who hurled rocks, boulders, and sand at each other. The fighting lasted for days, and exhausted the two giants. In their exhaustion, they forgot about their feud and became friends, but when they left they forgot to clean up the mess they had made during their battle, hence the Chocolate Hills
totally explains it
it was just a result of a epic giant battle
The last legend is about a gluttonous giant named Miguel that eats everything in his path. One day he came to a plain. He saw a beautiful young woman named Adrianna. To win her affection, he needed to lose weight. So he excreted everything he ate. In the end, his fecal matter covered the land and he won Eng's affection.
Two hours after receiving the BBC World Service's schedule for this week, I recieved another email telling me that half the programs will be cancelled and replaced with live coverage of the unrest in Egypt
1. Create file download.php and paste this code:
<?php
$d = $_GET['d'];
header('Content-Disposition: attachment; filename="$d"');
?>
And paste this code as download link:
<a href="download.php?d=filename.jpeg">Download</a>
Dont the japanese and koreans have any questions ? Ive rarely spotted them asking questions on SO. But they do churn out mind blowing stuff
I reckon they are bad at english, but then how do they read specs and documentation ... ? Its like they never mess up or they have a secret japanese internet or something
select Id as [User Link], Reputation, CreationDate, WebsiteUrl, AboutMe, Location
from users
where Location like '%Japan%' or WebsiteUrl like '%.jp'
order by Reputation desc
select Id as [User Link], Reputation, CreationDate, WebsiteUrl, AboutMe, Location
from users
where Location like '%Korean%' or WebsiteUrl like '%.kr'
order by Reputation desc
edit5 In case you still like Jeffs answer: This is not about SO but about SE-2.0 sites in general!
Stuff like polls, recommendations based on subjective constraints, puzzles, webcomics etc. do not belong on the serious main SE sites, where professionals should be considered at work and having ju...
I've learned from Stack Overflow that some of the code I've been writing so far is considered "bad practice". Like using tons of global variables, create_function() etc. I'm curious to know more about this.
Post examples of bad practices in PHP and why. Please only post one bad practice per answ...
Possible Duplicate:
Should we rephrase or clarify “subjective and argumentative”?
I've seen some discussions here on meta-SO where moderators have said that the appropriate action for a user who appears to be trolling in comments is to click the "Flag this comment as offensiv...
@Benjol Not really, since you can only flag a comment for 'offensive', while closing a question for being 'argumentative', those are two different things
My understanding of who has diamonds:
All moderators have diamonds on the sites they moderate
Trilogy moderators also have diamonds on MSO
SOIS employees have diamonds everywhere they're needed
⋯⋯⋯
Right now, there are a lot of new diamond moderators across the network, with more being added...
Currently it's quite difficult to select text from the results too, the table seems to think I'm trying to do something else, but that something else isn't possible (dragging rows?)
Hello,
I have a problem with m2eclipse (0.10.0) together with eclipse galileo (Build id: 20090920-1017).
I always get the error message:"Eclipse is running in a JRE, but a JDK is required". I have tried several things, but nothing works. The error message is still there. Here are the things I ha...
I want to simulate a heat source (eg a cpu) connected to a heatsink without any cooling fans. The simulation will run indefinitely using small time steps.
What i want to measure at each time step is the temperature of the heat source and the temperature of the heatsink at each tick (of time).
...
Hi All -
Idea is simple. A spam system that tries with its extreme to send emails as many as possible(possibly with enough MTAs behind with smtp strategy). Using a task queue for email recipients, multiple distributed APP servers(with MTA properly configured to send emails) will read email recip...
One approach I was considering is to officially designate the 4th place winner as an alternate. That would cover two cases: a moderator no longer able to serve, and having someone who can fill in for a temporary absence due to work or family obligations. The entire nomination-campaign-primary-ele...
Look at the comment thread. Why do I get a here we go again feeling?
I'm fair if that "math" is "find the logic holes in this or prove there are none" - but if it is "given this polar-spherical differential field equation in descreet parts, identify the stable states in terms of phi eta and iota, in terms of the inverse hamiltonian conjugate" (I'm just throwing vaguely remembered terms around there)
@MarcGravell You should totally drop that and use jQuery Math plugin.
3
$("eq .stable").φηι()
> The toolchain I'm using, scala+maven+lift is a lot to digest. It's not impossible that me and Dave Penneys, a graduate student at Berkeley, are the only mathematicians who've programmed in scala. On the other hand, everyone can write python :-)
@badp, yeah, that deadline does make things look a bit ... bad. I've been wondering about Moms4Mom too, they want to migrate, but I'm not sure they'll have the time (new baby in December...)
@badp That's my recollection too, though I don't think that J&J/SOIS are monsters to the point of pulling the plug on the very first minute of 1 April (except as a joke, of course :)
@badp Yeah, I know, I was pulling in the other direction there...
@TimPost, to be honest, if Anton, Scott & Tammy could be 'benevolent dictators for life', I'm pretty certain there'd be no problem with moving to SE2.0
@badp, anyway, that is why I asked my democracy question and why I think that the way things are presented is extremely sensitive and important. But I won't start again :)