@Benjol, with your comment script, it'd be nice to be able to edit the names of the comments. They get kind of totally mismatched when you edit the content but the title still has the default name. (:
@GeorgeEdison, in fact, maybe I should install it. Except that I'm still sulking because you've removed any possibility of my script ever making it to the top spot :)
No more re-typing the same comments over and over!
This script adds a little 'auto' link next to all comments boxes. When you click the link, you see a popup with 6 configurable auto-comments, which you can easily click to insert.
Features
1. Read before your post!
Note that the dialog o...
@GeorgeEdison, it currently pings the comments of that question ^^ to see if there is a new version, and does a notify.show if there is.
@balpha suggested loading the script twice - once from disk, and the second time form url, and using clever magic to compare the two. But I haven't worked out a way to do that that could be used for two different scripts on the same machine.
@RebeccaChernoff, that said. If you want, I'll make your comments the default ones, how's that? (Unless they're wayyyy too wacky). (I reserve the right to remove oys)
@RebeccaChernoff, to be honest, I did wonder whether them being different by site might not also be a good thing... but I wasn't thinking of 100 sites...
@GeorgeEdison Have the script run on the stackauth.com domain, then pass message from that iframe up to the parent site's script, basically what SE has done for the global login system. The technical details are sketchy, but it should be doable
Hi Guys,
I am working with JQuery, I have got below code sample for JQuery:
$.ajax({
type:"GET",
url: "Login.aspx", // Send the login info to this page
data: str,
dataType: "jsonp",
timeout: 200000,
jsonp:"skywardDetails",
suc...
@RebeccaChernoff maybe that needs some thought on my part. The problem I had was that I convert in both directions, and prepending http was the easiest way I could think of to not confuse meta.site with site
@RebeccaChernoff hm, that works in V1.0.8, so I can't help you there :) I'll just have to speed up and post it. I'm a bit reticent to do so, in case there are other bugs.
I'm trying to work out if that method he proposed is generalizable - if I could modify it to be able to use it in different scripts without them updating each other... if you have any thoughts on the matter...
Ok, I just don't get it. I'm sending a header('Content-type: application/json');, and then echo json_encode($array). Every parser seems to like it, but I can't get chrome to jsonify it for viewing
@GeorgeEdison If you install that extension and then look at the preformatted element in dev tools, you'll see how the SE API (likely) writes it's responses
the current workaround is she hacks the script herself locally (I can cope with that), but just out of curiosity. If you hit that link, @YiJiang had 2 other options too, but the first one sounds the most ... interesting... I just wondered where it is on the pain scale
@balpha, you really are evil you know. I think they should lock you up :)
OK, well I'll have a look at it, it could be a fun learning experience, if nothing else...
one last thing, do you think that this other evil suggestion of yours would be extensible to work on multiple scripts, without them 'updating each other'? (I think if I declared the url at the same time as the version it would be ok)
@balpha I was thinking of adding a 'self-update-checking-userscript-template' to userscripts... so was looking for something where people could just change constants, not code
@balpha. ok, I'll look into it. have to admit my brain hasn't completely grokked the finer details yet. But trying to implement it is the best way to fix that.
@badpssockpuppet, that's github, gist is different, apparently
ok, I take it back. strange that github themselves don't appear to be aware of this. either that or they've fixed it very recently (support.github.com/discussions/gist/…)
I was thinking of just putting somewhere on the internet check_update({"raw version": 2, "version": "1.1 (codename thingahongkong)", "what's new": "now with autoupdate", "link": "whatever"})
@badpssockpuppet, someone here decided that productivity would be increased if they blocked anything with videos, all social media, and anything with chat or email
I'm fairly certain that the IT department's productivity has dropped, with all the exceptions they've had to add :)
I'm tying to install the Android SDK on my Windows 7 x64 System. jdk-6u23-windows-x64.exe is installed, but the Android-SDK-Setup refuses to proceed because it doesn't find the jdk-Installation.
Is this a known issue? And is there a solution?
@YiJiang Why wouldn't you want one?! :) I was thinking it would be kinda cool to build one. Maybe like a Twitter like stream based on tags, favourites.
@badpssockpuppet technically, no. But he hasn't been banned from every means of communication, so even though he can only read here, he can write elsewhere (where I'm reading)...
Has SE changed its stance on revealing votes, or is this an unintended feature?
This user asked a question and all 5 anwsers got downvoted, so I checked his profile after he said uncomplimentary things in the edited question.
http://stackoverflow.com/users/511804/alexandr?tab=reputation
Am I r...
Related:
Rep analysis using the community dump, missing information
What information is missing from the SO community dump?
I have come across 2 queries so far that will not work using data.se:
Can you check my query (fastest to 10k)?
SEDE translation of Legendary badge query
Given that w...
I ask because right now I'm in 21 rooms and I have 2 tabs open
and I can't have less than that
the single easiest way is to mark the multiple rooms you want to hang around as favourite by starring them, then when you join one you get a button that lets you rejoin all of them
heh, remember at a previous school the air con failed (servers on UPS, air con not), I was first in monday morning to a sweltering server room, fans screaming and the hottest server at about 80*C. Thanks, CoreTemp.
If it's the CPU temp, that's not horrific (it's hot, don't get me wrong), but I've seen systems fail at 40*C chassis temp (Usually a power supply overload).
I've had an old computer fail, but only because I was "provoking" it to see how hot it could get before cutting out :P
if something like that happens when the room is hot and the air con is dead, is it better to open the server room doors and get some fresh air in, or close the doors and get the aircon back on asap?
Arm every engineer with a can of Dust-Off (doesn't everyone keep those around?), tell 'em to turn em upside down and spray all the servers with the freezing mist!
This problem is quite easy to do by brute force. In fact, it'll be reasonably fast to brute force as well. But where's the fun in that?
The Problem
Produce a list of all unique 5 digit number pairs that sum to 121212. However, each decimal digit must appear exactly once in either number. So...