The Official Status Thread
-
Should he use Eclipse instead?
-
-
Status:
This error:
Test Name: SimpleImport
Test FullName: ImporterTest.SimpleImport
Test Source: c:\source\...\ImporterTest.cs : line 24
Test Outcome: Failed
Test Duration: 0:00:00Result Message: UTA004: Illegal use of attribute on ImporterTest.SimpleImport. The TestMethodAttribute can be defined only inside a class marked with the TestClass attribute.
Actually means:
Yo dog, forgot to make your test class public.
-
Status: Wondering how the fuck this site gets new users when it never sends activation e-mails
-
Status: Wondering how the fuck this site gets new users when it never sends activation e-mails
The Import...
-
Has nothing to do with activation e-mails.
You had to set up an account recently for TarBot, and @PleegWat has one for PleegBot, so something must be being sent…
-
There are ways and means, hedgehog. Ways and means.
-
Then I'd like to know what the fuck they are, because sure as hell I'm not getting a single fucking activation e-mail. Which means I have an account I want to set up, but can't, because I can't fucking activate it!
The e-mail account works, which means this is down to whatever shite is used for sending e-mails from here.
-
-
Yeah, yeah.
-
Status, Addendum:
Filed Under: Sanitization is hard, Now just to find somewhere to put this that will make things go boom
-
I also did this.
-
I just had a weird one off issue where pushing the on the composer didn't mimize it, it caused a download of a file called
532.html
with 172k of html in itUnable to reproduce though...
-
Status: Attempting to set up @MathBot. Activation e-mail not coming through.
Activated.
-
-
Are activation e-mails disabled or something?
-
I believe nobody's ever seen an email originate from this droplet...
-
A couple of great features about Discourse when you're signing up an account:
- You only enter the password once, rather than the standard twice, so you have no way of verifying that you typed it correctly, you just blindly enter it and hope for the best.
- Even if the emails are working correctly, if you typo the email address, you have no way to activate the account, so no way to fix the email address, so you're locked out permanently unless you get administrator assistance.
-
@pjh check your pms
-
Status, Addendum:
Filed Under: [Sanitization is hard, Now just to find somewhere to put this that will make things go boom]()@pjh check your pms
Did you XSS Discourse, AGAIN?
-
Not weaponized. Yet. I've been testing it silently since it basically breaks the entire sanitizer
-
I only have one word for you:
fa-spin
.
-
I just had a weird one off issue where pushing the on the composer didn't mimize it, it caused a download of a file called
532.html
with 172k of html in itUnable to reproduce though...
It just happened again! Only this time I wasn't in the lounge, so I'm going to share the download....
bug.htm (119.3 KB)
Click minimize chevron on the composer, receive html file download. How is it even possible for things like this even happen?!
-
Oh you'll see the gorey details for sure. I'm in mobile now though so I can't really show if quite yet
-
Status: Waiting for bug to be confirmed so I can post publicly here. Exploiting the bug will be left as an exercise to the
readerscript-kiddy
-
Bang on the wall till they take the hint?
I have found that having a non-shitty set of speakers that you can hold against the wall while you play the music of your choice, preferably something they won't like, works pretty well, as it turns the wall into a speaker much louder than anything they have.
-
Status: I tried Half-Life 2: Update
And how was it?
Also, for some reason, my speakers randomly stop producing sound unless
Didn't you have this problem a while back? Or maybe that was someone else.
-
Status: two hours into a code refactor and.... I HAVE NO FRACKING IDEA WHERE I WAS HEADING WITH THIS REFACTOR!
...
$> git checkout HEAD
-
Status: made another Thai curry, not quite as tasty as the last one...
-
And how was it?
The commentary was nice, but other than that it's equivalent to stock HL2.
Didn't you have this problem a while back? Or maybe that was someone else.
It was me. It might be the same cause, but it went away for a while.
-
Status: I tried Half-Life 2: Update last night
Downloading. Thanks for the link! :-)
-
Status: hackery!
var stdin_fd, close_fd = false; if(process.env['OS'] === undefined) { // assume Linux... stdin_fd = fs.openSync( "/dev/stdin", "rs" ); close_fd = true; } else { // assume Windows... stdin_fd = process.stdin.fd; } var stdin_buff = new Buffer(100); function getStdin() { var charCount = fs.readSync( stdin_fd, stdin_buff, 0, 100 ) return stdin_buff.toString().slice(0, charCount - 1); } while(true) { process.stdout.write('> '); var input = getStdin(); // do stuff with 'input'... } if(close_fd) { fs.closeSync( stdin_fd ); }
Filed under: Discourse editor doesn't support Vim commands...
-
Is that... JavaScript... with file descriptors?
-
Close. It's node.js, which doesn't come out of the box with a standard way to read from stdin...
-
I suppose the fact that you used that API doesn't mean it's actually supported?
-
Those docs are from v0.12? I'm using v0.25 which may as well be a different product. Anyway, I'm not writing production code here, a dirty hack copied off of stackoverflow will do. :P
-
Status: trying to use git to synchronize two PC's (Windows, Ubuntu) over SMB. It's not working very well...
OK, so (I think) I can pull from Ubuntu to Windows, but I can't push back, I have to copy the repo onto the Ubuntu machine and pull from the local copy. I suppose I should just go setup a repo on the internet... meh... effort.
-
How exactly are you using version 0.25 of a product that isn't up to 0.13 yet?
-
Ah. It's actually version v0.10.25... lol. Still not v0.12 tho.
-
Status: git wat?
Unlike subversion, git does not have a per-file history. If you look a the commit data structure, it only points to the previous commits and the new tree object for this commit. No explicit information is stored in the commit object which files are changed by the commit; nor the nature of these changes.
The tools to inspect changes can detect renames based on heuristics. E.g. "git diff" has the option -M that turns on rename detection. So in case of a rename, "git diff" might show you that one file has been deleted and another one created, while "git diff -M" will actually detect the move and display the change accordingly (see "man git diff" for details).
So in git this is not a matter of how you commit your changes but how you look at the committed changes later.I just want to copy (or branch) a file and have the new copy's history point back to the old one... Why is that so hard to do?
-
Because git doesn't store revisions of files - git stores revisions of the repository.
-
Those docs are from v0.12? I'm using v0.25 which may as well be a different product. Anyway, I'm not writing production code here, a dirty hack copied off of stackoverflow will do. :P
Actually...
:-)
-
Does that mean the people on Stack Overflow are wrong?!
Hmm... I guess the most recent answer is from January 2014...
Anyway, the hack code will do for now. It has value, and besides, I already checked it in!
:D
-
Because git doesn't store revisions of files - git stores revisions of the repository.
It's still annoying though, I wanted to do something like this:
File.txt (r1) ---+----- File.orig.txt (r2) \ \---- File.txt (r2)
So that the contents of the original file was preseved and recorded, and I could go on to make changes to it, but it would be clear what I was doing, and why I was doing it.
Now I'm forces to leave the original file in place and have a completely unrelated new file just magically appear out of nowhere, with no explicit relationship, no record of where it came from and I have to go through the code and change all the references to
File.txt
toFile.new.txt
...File.txt (r1) --------- File.txt (r2) + File.new.txt (r2)
Designing a new VCS? Just take note of how all the other VCS's work and how people expect it to work, and be sure to do exactly the opposite.
Obviously, I tried
git cp File.txt File.orig.txt
and found there isn't even acp
command in git...Whatever, this is just some low-importance hacking, so I guess I don't really care. It's just a bit tedious that literally every time I try to something straightforward and obvious with git, I find that apparently I've been Doing It Wrong™ all these years and the obvious thing I wanted to do is impossible and stupid, and I'm stupid for wanting to do it and now I have to jump backwards through hoops. I just want to control the versions of my files! Why is git being a barried to that?!
-
git config --global diff.renames copy
How's that?
-
git config --global diff.renames copy
How's that?
I don't know how that's going to help? I made a copy of the file locally, reformatted it and then checked it in as a new file... the original file is still there and is untouched. I can't see how there's any relationship between the two files now.
I'll probably have to settle with what I wrote in the commit log about what I was trying to achieve...
-
I presume you also have a lot of other files that you wish to make changes to that would depend on this particular file, otherwise I would suggest putting the changed file in a separate branch.
Technically, you could still put the file into a separate submodule and have the different branches there...
Or at least that's how I would teach it. Doing it is another matter altogether.
-
I'm in the process of trying to extract the revision GUIDs out of the log file, so I can see what this 'diff harder' option looks like. This might take a while... :/
EDIT: I'm too scared to change the global config, because if I try to read the current value of the setting, I just get a blank line as output, and I don't know if that's because the setting genuinely is empty, or not. What I did try was this:$ git diff -M -C -C 28c26b693682d75bbd5ad165c958c7aeacf5bbfb b30fca0167e34ffeba2065673c669e27c37a96f6 > tmp1 $ git diff 28c26b693682d75bbd5ad165c958c7aeacf5bbfb b30fca0167e34ffeba2065673c669e27c37a96f6 > tmp2 $ diff tmp1 tmp2
And there's no difference between the output from the two
git diff
commands, so if it was trying to find a rename, it wasn't trying hard enough. Anyway it's midnight now and I feel like I spent the last hour fighting a VCS rather than doing anything fun. Git won. I have my new file now and I'll just work in that... At least it hasn't deleted all my files this time (yet)!
-
####Status:####
Today is a surprisingly good day.
-
####Status:####
Today is a surprisingly good day.If you start the day by saying that, you know it can only go downhill from here...