Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

30

As requested, here are some good ones I got on Stack Overflow from my posts: Turns out that the problem was that hair-pulling just because I was using Doxygen comments in your source code, you can easily generate documentation in Python. In the application. This is where failures and diagnostic information should totally drop that and try jQuery. Python is ...


22

Some funny ones from Stack Overflow: a good IDE can then write a Java file that a common cause of segfaults is harder to monitor/troubleshoot Use Java's resource loader to load the image file between processes by passing around the code from the SVN repo. This setup also helps out API consumers, and is a code smell in the Sun/Oracle JRE Sounds like I hate ...


19

Mine: The fix is a programming language: CSS becomes a fully bloated format with stuff I wrote in a recent project because realplayer uses DoPlay() instead of Play(). Instead, I've experimented until I've come up what to fix. At least it's better than hammering F5. You should warn the user before he begins using the system. I'm very happy to confirm the ...


16

Oh, hilarious! Here are some of mine from AskUbuntu: there is just a relatively small amount of apps that may or may not include a cartoon. From my experience it shouldn't be aware that it is a pretty advanced tool. You always trust Amazon. (Yeah sure..) Ok, In the window that pops up, copy and paste the following: [Desktop Entry] Type=Application Name=...


16

This thing is so hilarious. I love it. Here are some generations from AskUbuntu: Open the Software Sources application. Go to the Additional Drivers tab. Choose the closed source driver for your hard-drive, the chance of possibility you need it for some reason, but it's not that easy to install instead of Windows (WARNING: THE LATTER WILL DELETE ALL YOUR ...


15

I realize this is rather old, but I thought someone might get a laugh out of some of these: Ask Ubuntu: A Happier Update The problem now seems to lie with the new kernel. You should (according to what I find) be considered closed, methinks. Was there any special reason you wanted to use this site? Hahaha. the meaning is the opposite. What is ...


15

This example uses C operators, but they are also used for WinNT/2000/XP/Vista/7 Additionally, new ImageIcon("image.png").getImage() can be used to load a C++ header file with functions that it is not. However, the value returned by Distance() will be truncated to an ImageIcon(byte[]) constructor, and compare the number to the minimum and maximum values for ...


14

Here are some of the best snippets I've seen so far. From Stack Overflow, You should be downloaded. Me.load. the given URL actually points to a coincidence. Dolby also specifies that the conversion may say your password is being over amp'd by 41.4%. The server/client then downloads the author. leave out advanced features like this until you find your ...


13

I updated several aspects of the app in response to user feedback: Error handling is somewhat better (it will now tell you if your token is invalid, instead of a generic "error" alert) Queued API calls are aborted now, which should speed up site changing, among other things. There's now an option to deauthorize the app, should you decide to revoke its ...


12

EDIT: Implemented using Web Sockets (because the caching characteristics of the API does not allow real-time notifications). I created a Chrome extension and Firefox add-on, and created a Stack Apps listing at Real-time desktop notifications for Stack Exchange inbox. In Google Chrome, the popup is closed when performing an action outside it (clicking, ...


12

Very good. I've been looking for something simple like this for a while. Thanks. As potential future features; Growl integration would be great An option to temporarily disable notifications (i.e. when you want to get some work done and don't want to get distracted by revisiting your answers etc!) A 'run on startup' option Maybe have the default menubar ...


10

Explanation of the uppercase and lowercase letters (specifically [, \, ], ^, _, `). innerHTML is not a regex like this: \D(\d{4}\s\d{3}\s\d{3})\D \D will be automatically escaped for you. You use this method, the text will be 2 as well. If you use this is the case, try a regex for this: String yourString = "<210>; On to say that $result is false ...


10

This is nice, but it gives the "You're not using Lynx" warning for other text-based browsers. It looks and works great in w3m as well, so it should probably skip the warning in that browser as well.


10

bugstatus-completed It doesn't currently seem to recognise Gaming's new election correctly. It doesn't show up as an active election, but the Gaming option in the "Completed Elections" section actually does load the current election so it's sort of working - it makes it hard to find, and also means we can't access the previous election any more (at least, ...


10

In my opinion, the icon is too large at 24 x 24. Other Firefox toolbar icons are 16 x 16. I used the following CSS in my userChrome.css file to make it the correct size: .stackalert-button * { width: 24px !important; height: 16px !important; }


9

Some of my own "quotes" from Stack Overflow: I know, there is no way to explain the way Python treats variables and parameters. This will remove all characters on Earth. I modified the function and now it's just "Hello World!". So yes, it's neither a xls file nor a text editor is like opening a SMTP server through a HTTP proxy.


9

Arqade has a lot of potential for this, here are some of mine: Dead is especially fun to use. The process requires a lot of Monuments after you buy EotN for the player who got the final hit, and only if it was gathered from rather than destroying it, so it needs to be done at time of activation. For example, I currently have a streetpass team that is strong ...


9

These are my favorites on Meta Stack Exchange: the bounty will be the best advice and you may find yourself in rough seas. Not? Then you have uploaded your image to delete incorrect answers Meta Stack Overflow is self-promotion, and it doesn't add any value to the answer. And on Code Golf: the byte array actually have NO idea how it works Then, you prompt ...


9

feature-request status-completed The Stack Overflow election has just appeared, and they're missing an important badge. Deputy, at 500 flag weight, might not be considered 'noteworthy' but it's actually required in this case: For the Stack Overflow election, an eligible candidate for the election must have all of the following badges (note, this is not ...


8

feature-request It would be nice to see one's own or another user's profile analyzed in this manner. It could be used like a "Should I bother running?" self-check. Obviously there would be no candidate text shown for people who have not come forth but but I like the extra bit of data aggregation that seems like a supplement to the profile page... And even ...


7

Not working for Windows (8x64) Firstly, download links for latest 1.6 are dead I've installed 1.5 and it doesn't show the list of sites Find User even doesn't work. And without the site list, even if I enter my userID it doesn't "Add Account"


7

Just pointing out: this system actually violates the content license because it does not link back to the original posts or authors in any way on the questions. From the blog: Visually indicate that the content is from Stack Overflow or the Stack Exchange network in some way. It doesn’t have to be obnoxious; a discreet text blurb is fine. Yes ...


7

Am I the only one who can't play?


7

The site no more exists and so no more flair generation. I found se-flair useful: See http://se-flair.appspot.com/ for more complete instructions. Short version: http://se-flair.appspot.com/[account-id].html produces an HTML document suitable for iframe-embedding http://se-flair.appspot.com/[account-id].js produces JavaScript code that inserts ...


7

bug status-completed The page seems to be breaking in Chrome for the stack overflow nominations with the following message "Uncaught TypeError: Cannot read property 'length' of undefined". It stops working after the step "Loading User Profile on main site". Looking at the code it would appear that line 607 is causing problems: userId = +post.find('.user-...


7

status-completed Please add Travel to the list as http://elections.stackexchange.com/#travel.stackexchange


7

I hate to rain on the parade, but programmatic writing to the Stack Exchange sites pre-write API isn't supported. While we can't forbid you from trying, you need to be aware that the instant someone uses a similar technique nefariously we're going to come down like a sack of bricks on it. I also know we've seen some more-successful-than-usual bots recently,...


7

Bug: When the error popup is displayed, no error is displayed (only a .), and clicking the Ok button does not dismiss the popup box.


7

I like the current logos of SENotifier, but, I was bored, and decided to have a go at making some SENotifier logos as well. And, well, here they are! Tell me if you like them, or any comments! I don't know if the pictures will keep their formatting, though. Oh well. 1). (.png) 2.) (.icns)


Only top voted, non community-wiki answers of a minimum length are eligible