« first day (672 days earlier)      last day (4351 days later) » 

Bob
4:00 PM
@DanielBeck I don't have a /lib anymore :P
 
@Bob Yeah, but use the equivalent in /.snapshots?
 
Bob
linux-hu37:/.snapshots/1/snapshot/lib # ./ld-2.14.1.so ../bin/chmod
../bin/chmod: error while loading shared libraries: ../bin/chmod: wrong ELF class: ELFCLASS64
Probably need /lib64
 
When do edit time-outs wrap around? 5 minutes?
 
@TomWijsman Yes.
 
Bob
Chat edits are a bit weird :\
 
4:03 PM
Alright, gonna see how big of a difference my automatic corrector does on the post @OliverSalzburg linked.
 
Bob
@TomWijsman A different user always resets it... I think?
@DanielBeck No luck.. missing shared library
 
@TomWijsman You have an automatic corrector? O__O
 
Bob
linux-hu37:/.snapshots/1/snapshot/lib64 # ./ld-2.14.1.so ../bin/chmod
../bin/chmod: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
 
@Bob Everything's missing, right? No chroot, no ln, no nothing?
 
Bob
Now I need some way to either recreate some parts of /lib64, tell it to search the current path, or something like that.
@DanielBeck I have the full filesystem in /.snapshots as far as I can tell (btrfs)
 
4:05 PM
@Bob Try setting LD_LIBRARY_PATH
 
Bob
Otherwise, well, what do you think rm -rfv --no-preserve-root / does? :P
This is all in a VM for fun anyway
 
@OliverSalzburg Yes, and that post you had to correct would be good to further improve the automatic corrector. So, gonna see how far it already goes and in the future reference to it when I decide to work further on it (when I'm in one of those "review all the low quality" stuff sprees).
 
Bob
@DanielBeck Uhm... how should I do that?
I am woefully unfamiliar with bash :P
 
@TomWijsman Awesome :)
 
4:06 PM
You have a shell. export LD_LIBRARY_PATH= /.snapshots/1/snapshot/lib64
Alternatively, LD_LIBRARY_PATH= /.snapshots/1/snapshot/lib64 ./ld-2.14.1.so ...
 
Hmm, actually works very crappy.
 
Bob
linux-hu37:/.snapshots/1/snapshot/lib64 # ./ld-2.14.1.so ../bin/chmod../bin/chmod: missing operand
Try `../bin/chmod --help' for more information.
:D
 
@Bob Now it's easy :-)
 
Bob
Now I'm debating whether it's work reconstructing, or just restore the snapshot :P
The VM snapshot*
 
@Bob Why not restore the FS snapshot instead now?
 
Bob
4:08 PM
Hm.. I need to read up on how :P
 
@OliverSalzburg: For links it leaves http:// ones unmodified, but he didn't use that so it interpreted them as sentences. Could probably use something that prepends www. with http:// if there's a second dot...
 
@TomWijsman Or ignore all whitespace-delimited tokens that end in a common TLD?
 
Another thing, @OliverSalzburg, is that some recent SE seem to have broken my own diff. :(
 
Bob
@DanielBeck It's getting deep into btrfs subvolumes, etc. I wonder if making cp executable and manually copying everything back would work as a stop-gap measure :P
 
@OliverSalzburg: Perhaps I should GitHub it one or another day.
 
4:12 PM
@TomWijsman Some auto-correction tool for the basic errors would surely go a long way already.
 
I mean, surely some of us know how GitHub works, so we can get something that works really well together.
Use the Issues if there are bugs like "the uppercase thing breaks links" so that someone else can try to correct it.
 
@TomWijsman Your tool is .Net or something right?
 
@slhck userscript
 
@TomWijsman In that case, why not, let's make a GitHub version
 
It's based on the second version of the earlier one.
Okay, moment, installing all the stuff. My Windows 8 RP is pretty empty... :(
 
Bob
4:17 PM
This... isn't right.
linux-hu37:/.snapshots/1/snapshot/lib64 # ./ld-2.14.1.so ../bin/ls -l /bin/ls
-rwxrwxrwx 1 0 0 110176 Jun  8 16:14 /bin/ls
linux-hu37:/.snapshots/1/snapshot/lib64 # ls
bash: /bin/ls: No such file or directory
Hm.. it's clearly there. It's clearly executable. I'm missing something.
 
i am gonna have to change every damn password :'(
Fuck, my passwords MD5 can been cracked :'(
 
Heh
As we said yesterday, using a tool like LastPass may seem like overkill, but remember: The only secure password is the one you can't remember. You're better safe than sorry.
-1 "v10H73nqMQPkbUvTLOPyKBg4KnkUjWgF" this is not a great password, it's an awful one, since you simply cannot remember it. — Lohoris Mar 2 at 22:48
 
Great, my Last.FM password was randomly generated :)
 
@OliverSalzburg: The problem I have with that password is if I have to type it in on a computer that's not mine... :D
Don't look... Still don't look... Almost typed it in... Ten more characters. Oh no, it's wrong!
 
4:30 PM
@TomWijsman I don't do that unless it's a credential that does not matter. And then I also use a password that provides (almost) no security :P
 
Bob
0
Q: Prevent suggested edits under 10 reputation on protected questions

BobRecently, we've had some suggested edit spam from anonymous users. The specific question being targeted is protected: protected by studiohack♦ Apr 27 '11 at 1:10 This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned a...

 
I had a password thnig this week that asked me "minimal 6 characters, maximal 8 characters". :(
 
@TomWijsman :(
 
I hope they never get their hashes stolen and I also hope they are salted, because else they're going to have tons of mad customers.
 
I was always furious when there is a length maximum, until I implemented bcrypt in one of our applications and realized that it only uses a fixed amount of characters and it makes no sense to use very long passwords.
 
Bob
4:33 PM
@TomWijsman Heh, there was this publically visible database query page with a password textbox with a max length of 5 chars. Of course, they could have been preventing anyone from accessing it without scrrewing with the HTML.
 
So I don't want to suggest to the user that a longer password is better (and, thus, I also implemented a length limit).
Now I have to give everyone the benefit of the doubt :P
 
@TomWijsman cool, do you wanna keep it pull request based or should we share push rights to your repository?
 
@slhck: Pull request based to start with, to keep it a bit organized. Perhaps give the usual contributors more rights after that...
 
@TomWijsman How do I install it and what's a good development cycle?
 
Bob
@slhck Endings: 'gnise':'gnize'? D:
 
@Bob huh?
I'd vote for "leave it as it was"
 
Bob
4:47 PM
I assume that would correct recognise to recognize :P
And there's 'alises':'alizes' too.
realises => realizes, which goes against my preferred localisation of English :P
 
@Bob it's localization :P
 
Bob
...
 
but actually I'd vote for keeping BrE/AmE as it is
you should never change that
 
@slhck Ah, thought they were typos. If it's a BrE / AmE difference feel free to remove them.
 
Bob
'lised':'lized'
 
4:50 PM
.replace(/([0-9])(MB|GB)\b/gi, '$1 $2')
that one should be .replace(/([0-9])(KB|MB|GB|TB)\b/gi, '$1 $2')
 
@OliverSalzburg Installation is clicking the .user.js file and then clicking on raw. Local installaction can be done with Notepad++ > Run menu for easy testing.
 
@TomWijsman '(?:ubunto|ubunut|ubunutu|ubunu|ubntu|ubutnu|uuntu|unbuntu|ubunt|ubutu)':'Ubunt‌​u', Really?
@TomWijsman .replace(/SUPERSPECIALDOTFIX/gi, '...') Why not use … as replacement?
 
@OliverSalzburg Fork the repo, create a new branch for features, do your edits, commit to your new branch, do a pull request from that new branch.
@DanielBeck Could be that that code already was there from GE's version. But yeah, could also be that I added some to that; but they're not guessed at.
@DanielBeck Because I'm used to typing ..., if people agree on … then we could switch that around. But I believe the majority just types ... so it might bother them changing it like that. Or are you talking about using … as SUPERSPECIALDOTFIX?
Also, this is a very early version I was slowly working on. But it might benefit more people if we work on it together.
Just one warning: Do check the differences, don't blindly trust them.
 
@TomWijsman … instead of ...; and people type the latter because word processors replace it.
 
Does … not break devices that don't support unicode?
 
4:55 PM
@DanielBeck: Super User / Markdown doesn't.
 
(Thinking old / rubbish internet devices)
 
@TomWijsman Super User is not a word processor.
 
Bob
Quite a few word corrections are unnecessary, e.g.: thefreedictionary.com/unrestrictive
 
I'm not wanting to defend either side though.
 
@Mokubai Unsupported anyway.
 
4:55 PM
@TomWijsman It took me a while to realize that I could use Chrome to navigate to any file on my hard drive and install it as a user script. It's just too simple :P
 
But this one just replaces ............................... by ...
 
Bob
@TomWijsman Could be nasty for code blocks.
 
@DanielBeck That's what I meant with that sentence.
@Bob Yeah, not sure if code blocks are ignored so far. I think not. We'll need to make sure they aren't processed by the regular expressions.
 
Bob
...replace with nothing? o.O
'whoo?ping':''
 
If you're too bored for branching, you could just use the master branch. Although that might make individual merges a bit less handy if multiple people commit a lot.
@Bob You're really questioning me? :D
It doesn't replace whoo or ping, it replaces whooooooooooooooping.
 
Bob
4:59 PM
@TomWijsman If you do stuff like this?
'I (never|bought|searched)':'I have $1'
I have never knew doesn't sound too good :P
 
Good point, but please raise those as issues instead of pinging me. :D
 
@TomWijsman You should also check for "I have a doubt" … but that's hard to replace
 
Bob
@TomWijsman Who says that? Anyway, completely removing it feels weird.
 
haha :P
 
As I said, early version. It's not that I've checked each entry 9000%.
 
Bob
5:01 PM
@TomWijsman How about reworking every correction? :P
I'll have a closer look tomorrow, if you guys haven't fixed it already :\
And I don't understand Git at all :)
 
@Bob The thing is, as we go and correct more and more posts such bugs would appear.
You saw them because you've nicely interpreted different options, but someone could've come across it sooner or later.
@Bob Can't find that back, but someone used it thrice in a post and it really doesn't add anything.
In any case, I'm going to eat now... Cya later.
 
5:14 PM
@slhck @DanielBeck what do you guys use to read and write to NTFS drives on Mac?
 
@SimonSheehan … a Windows computer :P
No, seriously, I've never had to write to an NTFS drive yet.
 
lol
wierdly, nearly all my windows systems do HFS+
 
@slhck oh darn. All the things I've seen (NTFS-3G or whatever) cost money :/
@JourneymanGeek Very interesting.. NTFS has read on Mac, but not write
 
Bob
@SimonSheehan Run an old computer as a Windows (or Linux) NFS? :P
 
Okay, back.
 
5:16 PM
@JourneymanGeek [citation needed]
 
@SimonSheehan: protools comes bundled with macdrive ;p
 
I'm trying to do this specifically on Mac - it's a school thing :p
Oh well, back to research. cya guys later
 
@SimonSheehan But actually NTFS-3G should be free. It's just the Tuxera version that costs.
 
5:31 PM
It works wonders on that earlier question ;P
 
@OliverSalzburg: What does it do? :D
 
It changes lists like A) B) C) to nested lists of 1. 2. 3.
 
It does seem like a little overhead for me to have to fork, branch, commit, merge, pull-request just to add one line :P
 
@SimonSheehan Windows VMs.
 
Fork is only once though.
 
Bob
5:38 PM
@slhck You lost me at branch.
 
If I had to. Windows 8 CP works well enough for basic NTFS file system access.
 
@DanielBeck Ever tried ntfs-3g?
@Bob Worked with git yet?
 
@slhck A long time back (when I still had NTFS disks), so probably no longer relevant.
 
Bob
@slhck Nope! :D
 
@slhck: For one line, GitHub has an online editor, though...
 
Bob
5:39 PM
Well, not past using it as a basic local revision tracker within Visual Studio
 
@Bob The whole forking's got me confused a bit too.. in the beginning, at least
 
Bob
Well, I understand forking. I don't have any idea what the branching is meant to do. I know what commit does. Merge? Pull-request?
 
@slhck: You can also ask me to pull in the changes from your branch.
 
@Bob Well, a branch is the same as in SVN. Just a different version of the code, like a branch from your "main" tree of code.
Eventually, you develop a feature in branch, and then merge it back into the "master"
 
Bob
@slhck But you have a branch of a fork here.. :\
 
5:42 PM
@Bob A fork is on a higher level..
You fork a complete repository from someone else
 
Bob
Yea, I get that much, but at this point it seems rather redundant if you're just going to be merging every change,
 
Correct.
That's what I didn't get at first, and for small projects it's really … well, too much work
 
I hate it.
"fishfish is currently in open beta, and is stable enough for everyday use. I use it exclusively on all my systems. The most recent version is Beta r2, released June 5, 2012."
Took me 5 seconds to reproducibly segfault it after the initial launch.
 
@OliverSalzburg: @slhck: Aha, figured it out, my script is kind of broken for non-inline edits. It doesn't show the divs there for me.
 
5:47 PM
!!+ --> !+
But well, that really doesn't matter though. :D
@OliverSalzburg: How did you test your enums change?
 
@TomWijsman Oh, right :D I'm usually just happy if my regex works at all ;)
 
I've merged in that branch, but need a post to test on. But the diffs don't work on the non-inline editor, any idea why? :(
 
It's not perfect, but once you inset the second paragraphs in the main list, the use becomes obvious.
 
@OliverSalzburg Yeah, that updates the post. But it doesn't show the diffs in the preview.
 
@TomWijsman Yeah, I always had to add a space somewhere in the editor to refresh the diff.
 
5:50 PM
@OliverSalzburg: The goal is that it "shows a diff until you hit space".
Test it in the inline editor on any post that looks bad.
Somehow it's broken for non-inline edits but can't figure out why...
Ah, in JS console: Uncaught TypeError: Cannot call method 'replace' of undefined
Somewhere in diffString
pre += '<span class="diff-delete">' + out.o[n] + oSpace[i].replace(/\n/g, ' ') + "</span>";
I guess this one, it has [n] and [i], dunno if that's supposed to happen like that.
I remember figuring out something similar before, but given that it's kind of half obfuscated it's annoying. :D
 
Humm, now it works here
 
Where? Inline or non-inline?
 
I reload that post, click the editor button, the diff is shown, I add a space in the source, diff is gone.
Non-inline
 
@OliverSalzburg: Got it working for me too after fixing the [i], committing your and mine edit now.
 
Can someone see this if its right? superuser.com/questions/434375/…
 
I don't have Realtek, been using Windows' drivers for long without problems.
 
@TomWijsman yeah I did too but sometime I feel that my laptop speakers become louder after installing Realtek.
However I just got some information regarding this there is information of these process for 64-bit and 32-bit as I guessed I was right.
@TomWijsman see this link start64.com/…
@OliverSalzburg what is your opinion on this?
 
@avirk Sorry, doing some regex debugging right now ;)
 
@OliverSalzburg sorry for disturbing you. :)
 
6:05 PM
@OliverSalzburg: Uhm... What did you do here?
(Not really wrong, just semantically funny that you put these commits in that branch)
@Bob So, I should remove never from that?
 
@TomWijsman I messed up my branches :P
@TomWijsman What do think about this? .replace(/and(?=[^,.!?\n]*?and)/gi, function(match) { return ','; })
I like it :)
Replaces repetitive use of "and" with ,
 
o_O
 
"Foo and X and Y and Z" should be turned into "Foo, X, Y and Z"
 
github.com/danielbeck ... not me. Registered the day before yesterday. I hate my name.
 
@OliverSalzburg: What about. Foo and X and Y and Z. ............. Somewhere else in the text: Foo and X and Y and Z.
 
6:12 PM
@TomWijsman It stops on common punctuation marks and line breaks.
At least in my tests
 
Oh wait...
 
It replaces all and's except for the last one by a comma. I see...
 
Yeah. That's the idea
 
Didn't catch that at first. Yeah, that's a good one.
 
6:17 PM
Good Friday! Are these shots made with filters in your opinion or DSLR? The guy calls it amateur photography:

http://meshik.wix.com/photo#!gallery
 
@avirk You're right:
This is my local desktop. I have that application running.
 
@OliverSalzburg that's mean RAVCpl64.exe for 64 bit of system and RtHDVCpl.exe for 32 bit. But why they chnged their process name for two platforms?
 
@avirk I also have that other file on my computer. On the backup drive of my old computer :D
Shouldn't that have been covered by RemoveSpacesBeforeInterpunction()?
 
@slhck: Which one of the s/z should I remove to keep BrE/AmE properly?
 
@OliverSalzburg Did your old computer on 32 bit??
 
6:31 PM
@avirk This is the folder in which I kept all the drivers for my old computer. No idea if I installed that one.
 
@OliverSalzburg: I believe so, try to mix yours in my regexp.
 
Hmmmm
 
But this is the driver for a Realtek chip, for Vista and it doesn't have the RAVCpl64.exe at all.
 
So, you've found a case in which it doesn't do the replace?
 
@TomWijsman It seemed to me like there was no rule yet that removed spaces before punctuation. I should run more tests.
 
6:32 PM
Sounds very complicated for me..:D
 
@TomWijsman But I don't think I fully understand the regex in RemoveSpacesBeforeInterpunction() yet :)
@avirk I think the user is asking because of wrong assumptions. He's talking about the software being installed on the other system as well. We must assume he thinks that because the other system has a Realtek driver control center thing as well. Thus, he identifies that it has the same software.
Of course, it isn't the same software at all. It could be largely different versions.
So it is not at all surprising that there are differences in the names of the binaries.
It may be the equivalent software, but not the same.
 
@OliverSalzburg So I think I should have to update this in my answer. Can I?
 
@avirk Sure
 
@OliverSalzburg thanks! :)
 
@TomWijsman All of them. ise and ize are both okay.
 
6:46 PM
@OliverSalzburg check it now I just copy and paste your words with few edits. See if it need something more if you can. :)
 
6:57 PM
 
@TomWijsman yup
 
I disabled RemoveSpacesBeforeInterpunction for now. It didn't want to behave :P
 
@OliverSalzburg: Tell me when you want me to do a pull.
@OliverSalzburg: Moar tests?
 
@TomWijsman Cool. I just committed a major change to my playground branch.
Feel free to pull :D
 
7:12 PM
@TomWijsman Oh!
Oh jeeze, now I have to merge those O__o
 
Yeah, your edits kinda got out of hand :D
 
I think it's best to start a new branch and copy the changes to it that you want to get committed, if that sounds best to you.
@OliverSalzburg: What does yours do differently?
 
@TomWijsman It takes 1. example into account.
And it capitalizes within lines as well. Yours only at the start of lines, if I'm not mistaken.
 
@OliverSalzburg I have one that does after punctuation marks.
 
7:17 PM
Oh! And I placed mine at that spot because it needs to run after CorrectLists. So if I would move it up there, it wouldn't work correctly any more...
 
But indeed none yet that does the 1. something to 1. Something.
Yeah, okay.
But can I pull anything or are you correcting it?
 
I'm correcting it (I hope).
@TomWijsman I just synced my latest changes. You wanna take a look?
 
@OliverSalzburg: Playground, or?
 
@TomWijsman Yes
 
@OliverSalzburg: And what is the manifest for?
 
7:26 PM
@TomWijsman I needed it to load an unpacked extension into Chrome. That's how I'm working on it right now.
I guess I should have .gitignored it...
 
git merge oliver/playground
crosses fingers
 
Hehehe
Ok, how are we going to get this working with code blocks?
I'm thinking of running 1 pass over the whole body, replacing all code blocks with short markers. Then run the whole cleanup pass (it will even be faster, because the body is now shorter :D). Then add the code blocks back in.
 
-                               'i( |\')':'I$1',
+                               'i( |\')?':'I$1',
@OliverSalzburg: Why the question mark? :D
 
@TomWijsman That's the major change I was talking about :)
 
Hmm, for sentences that finish with i, right?
 
7:31 PM
It now capitalizes more instances of i.
 
But would anyone actually do that?
 
My sample text had it.
 
Can't imagine a sentence that ends in i.
Where?
 
Basically "Who am I?"
Which is a valid question...
 
Aha, nice catch. :)
 
7:33 PM
I have a very aggressive fix pending commit: .replace(/,[^ ]/gi, ", ") /* Put a space after each comma. */
It works wonders
 
@OliverSalzburg: Hmm, why didn't RemoveSpacesBeforeInterpunction work for you? I don't see something wrong with it.
 
@TomWijsman It destroyed www.google.com
 
How? :(
Wait, my function's called wrong, huh.
 
www. Google. Com
Something like that
 
Ah wait, it's not.
@OliverSalzburg: Ah, but yeah, that's what I said.
It's because the `http:\\` part is required.
 
7:36 PM
I still don't fully understand the purpose of it, yet. So I couldn't fix it either :\
 
Well, what it does is this:
Hello , how are you?
will be
Hello, how are you?
It actually does
4 mins ago, by Oliver Salzburg
I have a very aggressive fix pending commit: .replace(/,[^ ]/gi, ", ") /* Put a space after each comma. */
so you're once again writing something I already implemented. But this time you have disabled mine... :P
 
Well yours caused me issues :D
 
@OliverSalzburg: Well, I think we better use mine and remove . and : from it such that URLs (with[out] ports) don't break.
 
Why not just replace all two or more consecutive spaces with one space in the first step, then add back the spaces we want?
@TomWijsman Ok, how would that look?
 
Only problem is that it doesn't correct cases like this:
Hello . This is a new sentence.
 
7:41 PM
@TomWijsman Good thinking
 
@OliverSalzburg: Actually, I think Markdown already fixes multiple spaces.
But there's also this case which my code handles:
Hello.This is a new sentence.
The nasty things is that URLs without http:// are problematic... :(
 
Ok. I can see you've put a bit more thought into it than me.
 
So a temp fix is adding support for ftp:// and www.
Which helps to not have to manually correct a lot more occasions.
I'll correct it.
 
@TomWijsman /(http:\/\/[a-zA-Z0-9\/.%_#~-]*)?([ ]*[.:!,]+(?!com)[ ]*)/gi
That's what I meant earlier ;)
 
What does it do?
(?!com)
 
7:51 PM
Negative lookahead.
 
Yeah, but we'll have to add all TLDs in there, though.
 
It makes it ignore the dot in google.com
@TomWijsman Or something that matches any TLD :P
 
Hi, hi.
Anyone knows how can I disable automatic windows updates?
There are updates and then the system will be automatically restarted which I don't want.
 
But I would say this is a rather bad idea.. you want to keep your system updated.
 
@slhck I just don't want the restart notification thingy which I keep postponing but it'll restart the system when I'm AFK.
Umm, oh, are you the one I think?
 

« first day (672 days earlier)      last day (4351 days later) »